(20.8ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.6ms) select table_name from information_schema.views where table_schema = 'fe_test'  (44.5ms) TRUNCATE TABLE `fe_addresses`  (26.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (41.2ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::QuestionSheet Create (8.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 00:56:27', '2024-06-18 00:56:27')  (12.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:27.727421' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 00:56:27', '2024-06-18 00:56:27')  (12.2ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (6.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:28', '2024-06-18 00:56:28', TRUE) Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (7.1ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:28', '2024-06-18 00:56:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:28', '2024-06-18 00:56:28', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:28', '2024-06-18 00:56:28', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:28', '2024-06-18 00:56:28') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:28' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:28', '2024-06-18 00:56:28') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:28' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:28', '2024-06-18 00:56:28') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:28' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:28', '2024-06-18 00:56:28') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:28' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (2.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:28', '2024-06-18 00:56:28')  (1.6ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.3ms) select table_name from information_schema.views where table_schema = 'fe_test'  (30.6ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 00:56:29', '2024-06-18 00:56:29')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:29.087459' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 00:56:29', '2024-06-18 00:56:29')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:29', '2024-06-18 00:56:29')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (23.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 00:56:29', '2024-06-18 00:56:29')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:29.780984' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 00:56:29', '2024-06-18 00:56:29')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:29', '2024-06-18 00:56:29', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:29', '2024-06-18 00:56:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:29' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:30' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:30', '2024-06-18 00:56:30')  (1.4ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::Answer Create (3.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, '', '2024-06-18 00:56:30', '2024-06-18 00:56:30')  (3.8ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) COMMIT  (2.5ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (23.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 00:56:30', '2024-06-18 00:56:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:30.584954' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 00:56:30', '2024-06-18 00:56:30')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:30', '2024-06-18 00:56:30', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:30', '2024-06-18 00:56:30', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:30', '2024-06-18 00:56:30', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:30' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:30' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:30', '2024-06-18 00:56:30') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:30' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:30', '2024-06-18 00:56:30')  (1.3ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 00:56:30', '2024-06-18 00:56:30')  (1.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'an updated response' WHERE `fe_answers`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (22.0ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (25.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 00:56:31', '2024-06-18 00:56:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:31.300155' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 00:56:31', '2024-06-18 00:56:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:31', '2024-06-18 00:56:31', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:31', '2024-06-18 00:56:31', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:31', '2024-06-18 00:56:31', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:31' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:31' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:31', '2024-06-18 00:56:31')  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (3.7ms) COMMIT Fe::Answer Load (5.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:31', '2024-06-18 00:56:31')  (1.4ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'choice 1', '2024-06-18 00:56:31', '2024-06-18 00:56:31') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (2.6ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (25.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 00:56:32', '2024-06-18 00:56:32')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:32.231805' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 00:56:32', '2024-06-18 00:56:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:32' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:32', '2024-06-18 00:56:32')  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.1ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 00:56:32', '2024-06-18 00:56:32')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:32.940312' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 00:56:32', '2024-06-18 00:56:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 00:56:32', '2024-06-18 00:56:32', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 00:56:33', '2024-06-18 00:56:33', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:33', '2024-06-18 00:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:33', '2024-06-18 00:56:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:33' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:33', '2024-06-18 00:56:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:33' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:56:33', '2024-06-18 00:56:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:33' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:33', '2024-06-18 00:56:33')  (1.4ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::TextField Update (1.5ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2', `updated_at` = '2024-06-18 00:56:33' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 00:56:33', '2024-06-18 00:56:33')  (1.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 2', '2024-06-18 00:56:33', '2024-06-18 00:56:33') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.9ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (53.5ms) TRUNCATE TABLE `fe_elements`  (79.7ms) TRUNCATE TABLE `fe_email_templates`  (31.0ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (24.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (26.6ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (24.8ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (27.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (22.9ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:34', '2024-06-18 00:56:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 00:56:34', '2024-06-18 00:56:34') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:34 UTC', '2024-06-18 00:56:34', '2024-06-18 00:56:34')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:35', '2024-06-18 00:56:35')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::DateField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 00:56:35', '2024-06-18 00:56:35') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '1/12/2013', '2024-06-18 00:56:35', '2024-06-18 00:56:35')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (40.7ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (34.5ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:35', '2024-06-18 00:56:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 00:56:35', '2024-06-18 00:56:35') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '13/12/2013', '2024-06-18 00:56:35', '2024-06-18 00:56:35')  (1.5ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (34.1ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (23.9ms) TRUNCATE TABLE `fe_question_sheets`  (34.2ms) TRUNCATE TABLE `fe_references`  (23.5ms) TRUNCATE TABLE `fe_users`  (26.9ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_answers`  (26.8ms) TRUNCATE TABLE `fe_applications`  (48.1ms) TRUNCATE TABLE `fe_conditions`  (81.9ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (26.9ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (24.7ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (39.5ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (24.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (24.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (33.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (25.3ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.2ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (37.7ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (26.4ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (28.7ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 1', TRUE, 'test', '2024-06-18 00:56:41', '2024-06-18 00:56:41') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:41.568806' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (2.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:41.592587' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:41.615239' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:41.637797' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:41.660299' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 00:56:41', '2024-06-18 00:56:41')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:41', '2024-06-18 00:56:41') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:41' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 2', TRUE, '2024-06-18 00:56:41', '2024-06-18 00:56:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:41', '2024-06-18 00:56:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1  (0.5ms) ROLLBACK  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (26.4ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 3', TRUE, 'test', '2024-06-18 00:56:42', '2024-06-18 00:56:42') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.231777' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.258482' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.282456' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 15) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 15', 15, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.305617' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 16) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 16', 16, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.329165' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 17) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 17', 17, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:42', '2024-06-18 00:56:42') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:42' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 4', TRUE, '2024-06-18 00:56:42', '2024-06-18 00:56:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.428610' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 18) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 18', 18, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.451657' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 19) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 19', 19, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.474119' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 20) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 20', 20, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.496843' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 21) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 21', 21, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:42.520264' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 22) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 22', 22, '2024-06-18 00:56:42', '2024-06-18 00:56:42')  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 00:56:42', '2024-06-18 00:56:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:42' WHERE `fe_pages`.`id` = 6  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `slug` = 'test' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (44.2ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (60.4ms) TRUNCATE TABLE `fe_page_elements`  (93.3ms) TRUNCATE TABLE `fe_pages`  (57.4ms) TRUNCATE TABLE `fe_people`  (67.9ms) TRUNCATE TABLE `fe_question_sheets`  (103.3ms) TRUNCATE TABLE `fe_references`  (59.2ms) TRUNCATE TABLE `fe_users`  (77.8ms) TRUNCATE TABLE `phone_numbers`  (136.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (31.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (33.4ms) TRUNCATE TABLE `fe_references`  (79.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 5', TRUE, '2024-06-18 00:56:43', '2024-06-18 00:56:43') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 6', TRUE, '2024-06-18 00:56:43', '2024-06-18 00:56:43') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.7ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 7', TRUE, '2024-06-18 00:56:44', '2024-06-18 00:56:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (7.2ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (24.0ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (22.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 8', TRUE, '2024-06-18 00:56:44', '2024-06-18 00:56:44') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 9', TRUE, '2024-06-18 00:56:44', '2024-06-18 00:56:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:44', '2024-06-18 00:56:44')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AttachmentField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::AttachmentField', 'section', 'Label Element 10', TRUE, '2024-06-18 00:56:44', '2024-06-18 00:56:44') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `attachment_file_name`, `created_at`, `updated_at`) VALUES (1, 3, 'test_file', 'test_file', '2024-06-18 00:56:44', '2024-06-18 00:56:44')  (1.8ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Destroy (1.3ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.3ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 11', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 12', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 13', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.9ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 14', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 15', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 16', TRUE, '2024-06-18 00:56:45', '2024-06-18 00:56:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (59.8ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (36.8ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 00:56:45', '2024-06-18 00:56:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.019102' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 23) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 23', 23, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.045964' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 24) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 24', 24, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.068907' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 25) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 25', 25, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.091609' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 26) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 26', 26, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.115578' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 27) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 27', 27, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 17', TRUE, '2024-06-18 00:56:46', '2024-06-18 00:56:46') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:46' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:46', '2024-06-18 00:56:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:46' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:46' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 18', TRUE, '2024-06-18 00:56:46', '2024-06-18 00:56:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:46' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:46', '2024-06-18 00:56:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:46' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:46' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.521152' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 28) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 28', 28, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.544884' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 29) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 29', 29, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.567875' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 30) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 30', 30, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.590630' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 31) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 31', 31, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:46.612814' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 32) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 32', 32, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:46', '2024-06-18 00:56:46')  (1.3ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.037984' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 33) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 33', 33, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.063572' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 34) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 34', 34, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.085963' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 35) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 35', 35, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.108343' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 36) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 36', 36, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.132005' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 37) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 37', 37, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 19', TRUE, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:47' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:47' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:47' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 20', TRUE, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:47' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:47' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:47' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:47', '2024-06-18 00:56:47')  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.336552' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 38) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 38', 38, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.359920' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 39) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 39', 39, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.382419' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 40) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 40', 40, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.405281' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 41) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 41', 41, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.427193' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 42) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 42', 42, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (36.6ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 15', '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.846980' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 43) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 43', 43, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.872751' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 44) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 44', 44, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.895552' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 45) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 45', 45, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.918137' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 46) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 46', 46, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:47.940419' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 47) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 47', 47, '2024-06-18 00:56:47', '2024-06-18 00:56:47')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 21', TRUE, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:47' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:47', '2024-06-18 00:56:47') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:48' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 22', TRUE, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (4.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:48' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 16', '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.151511' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 48) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 48', 48, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.175469' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 49) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 49', 49, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.199124' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 50) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 50', 50, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.222311' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 51) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 51', 51, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.245365' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 52) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 52', 52, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 17', '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.662126' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 53) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 53', 53, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.687982' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 54) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 54', 54, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.711837' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 55) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 55', 55, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.735306' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 56) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 56', 56, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.759193' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 57) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 57', 57, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 23', TRUE, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:48' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 24', TRUE, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:48', '2024-06-18 00:56:48') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:48' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:48' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 18', '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.973576' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 58) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 58', 58, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:48.997782' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 59) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 59', 59, '2024-06-18 00:56:48', '2024-06-18 00:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.023319' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 60) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 60', 60, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.062807' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 61) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 61', 61, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.085357' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 62) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 62', 62, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.4ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (38.8ms) TRUNCATE TABLE `fe_conditions`  (41.7ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 19', '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.520590' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 63) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 63', 63, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.546987' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 64) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 64', 64, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.570250' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 65) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 65', 65, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.593808' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 66) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 66', 66, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.617246' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 67) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 67', 67, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.9ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.7ms) BEGIN Fe::ReferenceQuestion Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 25', TRUE, '2024-06-18 00:56:49', '2024-06-18 00:56:49') Fe::Page Load (4.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:49' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:49', '2024-06-18 00:56:49') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:49' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:49' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 26', TRUE, '2024-06-18 00:56:49', '2024-06-18 00:56:49') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:49' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:49', '2024-06-18 00:56:49') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:49' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:49' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 20', '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.832516' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 68) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 68', 68, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.856644' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 69) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 69', 69, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.879466' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 70) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 70', 70, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.902307' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 71) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 71', 71, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:49.925452' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 72) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 72', 72, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:49', '2024-06-18 00:56:49')  (1.8ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.3ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.8ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (40.0ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 21', '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.402618' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 73) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 73', 73, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.427750' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 74) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 74', 74, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.450474' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 75) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 75', 75, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.473324' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 76) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 76', 76, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.495973' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 77) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 77', 77, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 27', TRUE, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:50' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 28', TRUE, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:50' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 22', '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.700897' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 78) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 78', 78, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.723570' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 79) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 79', 79, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.745968' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 80) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 80', 80, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.768711' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 81) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 81', 81, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:50.791656' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 82) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 82', 82, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:50', '2024-06-18 00:56:50')  (1.2ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.3ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 29', TRUE, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (7.0ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:56:50', '2024-06-18 00:56:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:50' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:50' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC, id=3 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (44.3ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (24.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (23.2ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 23', '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.358884' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 83) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 83', 83, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.384352' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 84) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 84', 84, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.407089' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 85) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 85', 85, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.429781' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 86) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 86', 86, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.452849' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 87) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 87', 87, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 30', TRUE, '2024-06-18 00:56:51', '2024-06-18 00:56:51') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:51' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:51', '2024-06-18 00:56:51') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:51' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:51' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 31', TRUE, '2024-06-18 00:56:51', '2024-06-18 00:56:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:51' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:51', '2024-06-18 00:56:51') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:51' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:51' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24', '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.659023' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 88) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 88', 88, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.682414' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 89) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 89', 89, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.704947' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 90) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 90', 90, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.727438' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 91) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 91', 91, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.750476' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 92) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 92', 92, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 25', '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.788249' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 93) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 93', 93, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.811237' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 94) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 94', 94, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.834762' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 95) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 95', 95, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.858008' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 96) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 96', 96, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:51.880921' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 97) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 97', 97, '2024-06-18 00:56:51', '2024-06-18 00:56:51')  (2.0ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:51', '2024-06-18 00:56:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52', 11) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:52' WHERE `fe_pages`.`id` = 11  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:52' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:52' WHERE `fe_pages`.`id` = 11  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:52' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 00:56:52', '2024-06-18 00:56:52') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:52' WHERE `fe_pages`.`id` = 12  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (2.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.6ms) COMMIT Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.1ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::Person Update (1.1ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.9ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 00:56:52', '2024-06-18 00:56:52')  (1.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.3ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 26', '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.402009' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 98) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 98', 98, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.427710' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 99) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 99', 99, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.450768' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 100) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 100', 100, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (34.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.508766' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 101) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 101', 101, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (6.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.538764' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 102) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 102', 102, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 32', TRUE, '2024-06-18 00:56:53', '2024-06-18 00:56:53') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:53' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:53', '2024-06-18 00:56:53') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:53' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:53' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 33', TRUE, '2024-06-18 00:56:53', '2024-06-18 00:56:53') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:53' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:53', '2024-06-18 00:56:53') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:53' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:53' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 27', '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.741288' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 103) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 103', 103, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.766349' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 104) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 104', 104, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.789762' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 105) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 105', 105, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.813205' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 106) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 106', 106, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.836403' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 107) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 107', 107, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 28', '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.876025' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 108) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 108', 108, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.899631' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 109) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 109', 109, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.926419' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 110) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 110', 110, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.951294' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 111) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 111', 111, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:53.975824' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 112) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 112', 112, '2024-06-18 00:56:53', '2024-06-18 00:56:53')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:53', '2024-06-18 00:56:53') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54', 3) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54', 11) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:54' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:54' WHERE `fe_pages`.`id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:54' WHERE `fe_pages`.`id` = 11  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:54' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 00:56:54', '2024-06-18 00:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:54' WHERE `fe_pages`.`id` = 12  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.7ms) COMMIT Fe::Answer Load (5.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.8ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.4ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.1ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 00:56:54', '2024-06-18 00:56:54')  (1.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.3ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 29', '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.260550' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 113) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 113', 113, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.286233' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 114) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 114', 114, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.308788' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 115) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 115', 115, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.330922' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 116) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 116', 116, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.353610' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 117) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 117', 117, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.3ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 34', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:55' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:55' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:55' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 35', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:55' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:56:55' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:55' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 30', '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.562454' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 118) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 118', 118, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.585823' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 119) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 119', 119, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.608807' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 120) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 120', 120, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.631292' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 121) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 121', 121, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.653990' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 122) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 122', 122, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 31', '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.692429' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 123) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 123', 123, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.715240' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 124) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 124', 124, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.737900' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 125) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 125', 125, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.760925' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 126) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 126', 126, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:55.783994' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 127) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 127', 127, '2024-06-18 00:56:55', '2024-06-18 00:56:55')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 00:56:55', '2024-06-18 00:56:55') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 00:56:56', '2024-06-18 00:56:56', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:56' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:56' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:56' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:56' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 00:56:56', '2024-06-18 00:56:56') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:56' WHERE `fe_pages`.`id` = 12  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.5ms) COMMIT Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 00:56:56', '2024-06-18 00:56:56')  (1.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.4ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.9ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (13,14,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (25.9ms) TRUNCATE TABLE `fe_page_elements`  (26.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 32', '2024-06-18 00:56:58', '2024-06-18 00:56:58')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:58.621229' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 128) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 128', 128, '2024-06-18 00:56:58', '2024-06-18 00:56:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 36', TRUE, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:58' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 37', TRUE, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:58.764412' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 129) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 129', 129, '2024-06-18 00:56:58', '2024-06-18 00:56:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 38', TRUE, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 3, 1, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:58' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 39', TRUE, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 4, 2, '2024-06-18 00:56:58', '2024-06-18 00:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:58' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '4,3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (0.8ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 4, 3) ORDER BY id=2 DESC, id=1 DESC, id=4 DESC, id=3 DESC  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (62.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (24.4ms) TRUNCATE TABLE `fe_pages`  (23.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (32.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 33', '2024-06-18 00:56:59', '2024-06-18 00:56:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 34', '2024-06-18 00:56:59', '2024-06-18 00:56:59')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:59.355261' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 130) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (2, 'Label Page 130', 130, '2024-06-18 00:56:59', '2024-06-18 00:56:59', '')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 35', '2024-06-18 00:56:59', '2024-06-18 00:56:59')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:59.388666' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 131) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (3, 'Label Page 131', 131, '2024-06-18 00:56:59', '2024-06-18 00:56:59', '')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 40', TRUE, '2024-06-18 00:56:59', '2024-06-18 00:56:59') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 00:56:59', '2024-06-18 00:56:59') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:56:59' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 130) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:59.473244' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 130) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (34.9ms) COMMIT  (0.6ms) BEGIN Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 131) AND (`fe_pages`.id != 2) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:59.524860' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 2) AND (`fe_pages`.`number` >= 131) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 2  (12.1ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 36', '2024-06-18 00:56:59', '2024-06-18 00:56:59')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:56:59.960002' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 132) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 132', 132, '2024-06-18 00:56:59', '2024-06-18 00:56:59')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 41', TRUE, '2024-06-18 00:56:59', '2024-06-18 00:56:59') Fe::Page Load (6.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:00' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 42', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 43', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (3.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 44', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 2, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:00' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:00.338282' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 133) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 133', 133, '2024-06-18 00:57:00', '2024-06-18 00:57:00')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 45', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 5, 1, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '5' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:00' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::TextField', 'short', 'Label Element 46', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::Section', 'section', 'Label Element 47', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 6 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 48', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 8, 2, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7,8' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:00' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=8 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (27.5ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 37', '2024-06-18 00:57:00', '2024-06-18 00:57:00')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:00.963496' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 134) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 134', 134, '2024-06-18 00:57:00', '2024-06-18 00:57:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 49', TRUE, '2024-06-18 00:57:00', '2024-06-18 00:57:00') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (2.2ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:01', '2024-06-18 00:57:01') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:01' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 50', TRUE, '2024-06-18 00:57:01', '2024-06-18 00:57:01') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 51', TRUE, '2024-06-18 00:57:01', '2024-06-18 00:57:01') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 00:57:01', '2024-06-18 00:57:01') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:01' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 52', TRUE, '2024-06-18 00:57:01', '2024-06-18 00:57:01') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.4ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 38', '2024-06-18 00:57:01', '2024-06-18 00:57:01')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 39', '2024-06-18 00:57:01', '2024-06-18 00:57:01')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:01.607129' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 135) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 135', 135, '2024-06-18 00:57:01', '2024-06-18 00:57:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 135) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:01.625205' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 135) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (8.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 40', '2024-06-18 00:57:02', '2024-06-18 00:57:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:02.050891' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 136) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 136', 136, '2024-06-18 00:57:02', '2024-06-18 00:57:02')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 53', TRUE, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:02' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 54', TRUE, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 55', TRUE, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 56', TRUE, '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Paragraph Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'abc', '2024-06-18 00:57:02', '2024-06-18 00:57:02') Fe::Page Load (6.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.9ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.3ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Paragraph Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'Lorem ipsum...', '2024-06-18 00:57:03', '2024-06-18 00:57:03') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (37.1ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 41', '2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 57', TRUE, '2024-06-18 00:57:03', '2024-06-18 00:57:03', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 42', '2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:03.724451' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 137) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 137', 137, '2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 137) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:03.741521' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 137) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.2ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:03', '2024-06-18 00:57:03') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:03' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 00:57:03', '2024-06-18 00:57:03')  (1.5ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (27.6ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (24.6ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 43', '2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 58', TRUE, '2024-06-18 00:57:04', '2024-06-18 00:57:04', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 44', '2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:04.283499' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 138) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 138', 138, '2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 138) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:04.299303' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 138) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:04', '2024-06-18 00:57:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:04' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.6ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 00:57:04', '2024-06-18 00:57:04')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (28.4ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (24.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (27.6ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (28.2ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:05', '2024-06-18 00:57:05')  (12.0ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 45', '2024-06-18 00:57:05', '2024-06-18 00:57:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:05.587242' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 139) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 139', 139, '2024-06-18 00:57:05', '2024-06-18 00:57:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:05', '2024-06-18 00:57:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 59', TRUE, '2024-06-18 00:57:05', '2024-06-18 00:57:05', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 59', TRUE, '2024-06-18 00:57:05', '2024-06-18 00:57:05', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:57:05', '2024-06-18 00:57:05') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:05' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Completed 500 Internal Server Error in 136ms (ActiveRecord: 26.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (41.1ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 46', '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:06.207689' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 140) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 140', 140, '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.4ms) COMMIT  (8.3ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 00:57:06', '2024-06-18 00:57:06') Fe::Page Load (4.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:06', '2024-06-18 00:57:06') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Completed 500 Internal Server Error in 79ms (ActiveRecord: 23.5ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (37.6ms) TRUNCATE TABLE `fe_conditions`  (75.6ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (27.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 47', '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:06.838653' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 141) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 141', 141, '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:06', '2024-06-18 00:57:06')  (1.7ms) COMMIT  (8.5ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Completed 500 Internal Server Error in 63ms (ActiveRecord: 3.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (39.6ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (22.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 48', '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:07.380897' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 142) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 142', 142, '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 60', TRUE, '2024-06-18 00:57:07', '2024-06-18 00:57:07') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:07', '2024-06-18 00:57:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:07' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Completed 500 Internal Server Error in 52ms (ActiveRecord: 15.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 49', '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:07.913800' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 143) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 143', 143, '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 50', '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:07.952091' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 144) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 144', 144, '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:07', '2024-06-18 00:57:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 61', TRUE, '2024-06-18 00:57:07', '2024-06-18 00:57:07') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:08', '2024-06-18 00:57:08') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:08' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 00:57:08', '2024-06-18 00:57:08') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:08' WHERE `fe_pages`.`id` = 2  (12.9ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.2ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:08.134031' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:08' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Completed 500 Internal Server Error in 88ms (ActiveRecord: 35.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (45.1ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_answers`  (26.5ms) TRUNCATE TABLE `fe_applications`  (34.0ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (37.5ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:08', '2024-06-18 00:57:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 51', '2024-06-18 00:57:08', '2024-06-18 00:57:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:08.675807' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 145) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 145', 145, '2024-06-18 00:57:08', '2024-06-18 00:57:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:08', '2024-06-18 00:57:08')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 62', TRUE, '2024-06-18 00:57:08', '2024-06-18 00:57:08') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:08', '2024-06-18 00:57:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:08' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:08.794434' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:08' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (5.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (2.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.4ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.4ms) COMMIT Completed 500 Internal Server Error in 97ms (ActiveRecord: 54.2ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (29.2ms) TRUNCATE TABLE `fe_conditions`  (37.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (26.3ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (33.1ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (24.9ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 52', '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:09.296399' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 146) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 146', 146, '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (11.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 63', TRUE, '2024-06-18 00:57:09', '2024-06-18 00:57:09') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:09', '2024-06-18 00:57:09') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:09.426295' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:09' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Completed 500 Internal Server Error in 67ms (ActiveRecord: 31.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (48.3ms) TRUNCATE TABLE `fe_addresses`  (90.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (38.2ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 53', '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:09.982162' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 147) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 147', 147, '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:09', '2024-06-18 00:57:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 64', TRUE, '2024-06-18 00:57:10', '2024-06-18 00:57:10', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 65', TRUE, '2024-06-18 00:57:10', '2024-06-18 00:57:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:10', '2024-06-18 00:57:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:10', '2024-06-18 00:57:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:10' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.6ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Completed 500 Internal Server Error in 34ms (ActiveRecord: 4.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.3ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:10', '2024-06-18 00:57:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 54', '2024-06-18 00:57:10', '2024-06-18 00:57:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:10.593329' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 148) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 148', 148, '2024-06-18 00:57:10', '2024-06-18 00:57:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:10', '2024-06-18 00:57:10')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 66', TRUE, '2024-06-18 00:57:10', '2024-06-18 00:57:10') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:10', '2024-06-18 00:57:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.5ms) ROLLBACK Completed 500 Internal Server Error in 28ms (ActiveRecord: 7.1ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (35.9ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 55', '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:11.140094' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 149) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 149', 149, '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 67', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:11' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Completed 500 Internal Server Error in 35ms (ActiveRecord: 8.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (41.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 56', '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:11.703499' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 150) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 150', 150, '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:11', '2024-06-18 00:57:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 68', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 69', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 70', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 71', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 72', TRUE, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:11' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:57:11', '2024-06-18 00:57:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:11' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.4ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:11.997440' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 00:57:12' WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:12.063058' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.2ms) UPDATE `fe_page_elements` SET `position` = 1, `updated_at` = '2024-06-18 00:57:12' WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Completed 500 Internal Server Error in 201ms (ActiveRecord: 74.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (21.8ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:12', '2024-06-18 00:57:12')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 57', '2024-06-18 00:57:12', '2024-06-18 00:57:12')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:12.592937' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 151) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 151', 151, '2024-06-18 00:57:12', '2024-06-18 00:57:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:12', '2024-06-18 00:57:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 73', TRUE, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 74', TRUE, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 75', TRUE, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 76', TRUE, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 77', TRUE, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:57:12', '2024-06-18 00:57:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:12' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Completed 500 Internal Server Error in 100ms (ActiveRecord: 34.7ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:13', '2024-06-18 00:57:13')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 58', '2024-06-18 00:57:13', '2024-06-18 00:57:13')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:13.377478' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 152) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 152', 152, '2024-06-18 00:57:13', '2024-06-18 00:57:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:13', '2024-06-18 00:57:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 78', TRUE, '2024-06-18 00:57:13', '2024-06-18 00:57:13') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:13', '2024-06-18 00:57:13') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:13' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.5ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Completed 500 Internal Server Error in 58ms (ActiveRecord: 8.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.9ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (25.0ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:13', '2024-06-18 00:57:13')  (1.4ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: e1cb6e78-4b4b-402b-a6f8-a086799f1b93) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.2ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (37.8ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (26.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.7ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (22.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 59', '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.403913' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 153) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 153', 153, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.430298' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 154) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 154', 154, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.455011' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 155) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 155', 155, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.479326' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 156) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 156', 156, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.503307' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 157) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 157', 157, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.5ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 79', TRUE, '2024-06-18 00:57:14', '2024-06-18 00:57:14') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:14' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:14', '2024-06-18 00:57:14') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:14' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:14' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 80', TRUE, '2024-06-18 00:57:14', '2024-06-18 00:57:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:14', '2024-06-18 00:57:14') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:14' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 60', '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.717874' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 158) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 158', 158, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.743324' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 159) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 159', 159, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.769649' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 160) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 160', 160, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.795638' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 161) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 161', 161, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:14.819722' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 162) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 162', 162, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:57:14', '2024-06-18 00:57:14')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 81', TRUE, '2024-06-18 00:57:14', '2024-06-18 00:57:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (6.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (50.3ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (36.7ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (27.8ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (29.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (37.3ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (26.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (26.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (30.0ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 61', '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:17.670324' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 163) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 163', 163, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:17.696496' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 164) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 164', 164, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:17.733088' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 165) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 165', 165, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:17.756093' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 166) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 166', 166, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:17.778669' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 167) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 167', 167, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will show the next element if the answer is yes', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:17', '2024-06-18 00:57:17', 'Fe::Element', 'yes') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:57:17', '2024-06-18 00:57:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:17' WHERE `fe_pages`.`id` = 4  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that is made visible by the previous element', TRUE, '2024-06-18 00:57:17', '2024-06-18 00:57:17') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:57:17', '2024-06-18 00:57:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:17' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 00:57:17', '2024-06-18 00:57:17')  (1.5ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'yes', `updated_at` = '2024-06-18 00:57:18' WHERE `fe_answers`.`id` = 1  (3.6ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (35.9ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (45.6ms) TRUNCATE TABLE `fe_people`  (27.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 62', '2024-06-18 00:57:18', '2024-06-18 00:57:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:18.948196' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 168) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 168', 168, '2024-06-18 00:57:18', '2024-06-18 00:57:18')  (1.5ms) COMMIT Fe::Element Load (12.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (35.1ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (23.2ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (39.8ms) TRUNCATE TABLE `fe_references`  (22.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (6.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 63', '2024-06-18 00:57:19', '2024-06-18 00:57:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:19.417306' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 169) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 169', 169, '2024-06-18 00:57:19', '2024-06-18 00:57:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 82', TRUE, '2024-06-18 00:57:19', '2024-06-18 00:57:19') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:19', '2024-06-18 00:57:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:19' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:57:19.519672' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (33.2ms) TRUNCATE TABLE `fe_addresses`  (34.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (48.9ms) TRUNCATE TABLE `fe_answers`  (40.2ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (23.3ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 64', '2024-06-18 00:57:19', '2024-06-18 00:57:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:20.015051' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 170) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 170', 170, '2024-06-18 00:57:19', '2024-06-18 00:57:19')  (2.1ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::Section', 'section', 'Label Element 83', TRUE, '2024-06-18 00:57:20', '2024-06-18 00:57:20') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:20', '2024-06-18 00:57:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:20' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (30.2ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (55.8ms) TRUNCATE TABLE `fe_elements`  (38.0ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (26.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (22.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 65', '2024-06-18 00:57:20', '2024-06-18 00:57:20')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:20.552073' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 171) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 171', 171, '2024-06-18 00:57:20', '2024-06-18 00:57:20')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 84', TRUE, '2024-06-18 00:57:20', '2024-06-18 00:57:20') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:20', '2024-06-18 00:57:20') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 85', TRUE, '2024-06-18 00:57:20', '2024-06-18 00:57:20') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 66', '2024-06-18 00:57:21', '2024-06-18 00:57:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:21.085674' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 172) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 172', 172, '2024-06-18 00:57:21', '2024-06-18 00:57:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 86', TRUE, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 87', TRUE, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 88', TRUE, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 67', '2024-06-18 00:57:21', '2024-06-18 00:57:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:21.657492' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 173) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 173', 173, '2024-06-18 00:57:21', '2024-06-18 00:57:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 89', TRUE, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:21', '2024-06-18 00:57:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:21' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (29.6ms) TRUNCATE TABLE `fe_applications`  (46.4ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 68', '2024-06-18 00:57:22', '2024-06-18 00:57:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:22.166866' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 174) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 174', 174, '2024-06-18 00:57:22', '2024-06-18 00:57:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 90', TRUE, '2024-06-18 00:57:22', '2024-06-18 00:57:22') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 91', TRUE, '2024-06-18 00:57:22', '2024-06-18 00:57:22', 1, 'Fe::Element', 'asdf') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:57:22', '2024-06-18 00:57:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:22' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 00:57:22', '2024-06-18 00:57:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:22' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGridWithTotal Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::QuestionGridWithTotal', 'grid', 'Label Element 92', TRUE, '2024-06-18 00:57:22', '2024-06-18 00:57:22') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'short', 'Label Element 93', TRUE, '2024-06-18 00:57:22', '2024-06-18 00:57:22') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:22', '2024-06-18 00:57:22')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:22', '2024-06-18 00:57:22')  (1.5ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'asdf', '2024-06-18 00:57:22', '2024-06-18 00:57:22')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'something else' WHERE `fe_answers`.`id` = 1  (3.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (36.7ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (33.4ms) TRUNCATE TABLE `fe_references`  (25.0ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 69', '2024-06-18 00:57:23', '2024-06-18 00:57:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:23.294833' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 175) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (1, 'Label Page 175', 175, '2024-06-18 00:57:23', '2024-06-18 00:57:23', '2,1')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 94', TRUE, '2024-06-18 00:57:23', '2024-06-18 00:57:23') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 95', TRUE, '2024-06-18 00:57:23', '2024-06-18 00:57:23') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (28.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 70', '2024-06-18 00:57:23', '2024-06-18 00:57:23')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:23.760641' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 176) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 176', 176, '2024-06-18 00:57:23', '2024-06-18 00:57:23')  (1.6ms) COMMIT Fe::Element Load (11.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (38.2ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 71', '2024-06-18 00:57:24', '2024-06-18 00:57:24')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:24.214187' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 177) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 177', 177, '2024-06-18 00:57:24', '2024-06-18 00:57:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 96', TRUE, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:24' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 97', TRUE, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 98', TRUE, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:24' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 99', TRUE, '2024-06-18 00:57:24', '2024-06-18 00:57:24') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (35.1ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 72', '2024-06-18 00:57:24', '2024-06-18 00:57:24')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:24.862395' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 178) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 178', 178, '2024-06-18 00:57:24', '2024-06-18 00:57:24')  (1.7ms) COMMIT Fe::Element Load (11.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (25.0ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (25.6ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 73', '2024-06-18 00:57:25', '2024-06-18 00:57:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:25.321237' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 179) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 179', 179, TRUE, '2024-06-18 00:57:25', '2024-06-18 00:57:25')  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (25.7ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 74', '2024-06-18 00:57:25', '2024-06-18 00:57:25')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:25.744628' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 180) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 180', 180, '2024-06-18 00:57:25', '2024-06-18 00:57:25')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 100', TRUE, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:25' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 101', TRUE, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 102', TRUE, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:25' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 103', TRUE, '2024-06-18 00:57:25', '2024-06-18 00:57:25') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.4ms) COMMIT Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 75', '2024-06-18 00:57:26', '2024-06-18 00:57:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:26.385981' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 181) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 181', 181, '2024-06-18 00:57:26', '2024-06-18 00:57:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGridWithTotal Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGridWithTotal', 'grid', 'Label Element 104', TRUE, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 00:57:26.438886' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 1) Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:26' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 105', TRUE, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 106', TRUE, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 00:57:26.564084' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 2) Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:26' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 107', TRUE, '2024-06-18 00:57:26', '2024-06-18 00:57:26') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (38.5ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 76', '2024-06-18 00:57:27', '2024-06-18 00:57:27')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 77', '2024-06-18 00:57:27', '2024-06-18 00:57:27')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:27.092198' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 182) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 182', 182, '2024-06-18 00:57:27', '2024-06-18 00:57:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:27.116823' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 182) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 182', 182, '2024-06-18 00:57:27', '2024-06-18 00:57:27')  (1.5ms) COMMIT Fe::Element Load (11.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 2  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (28.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (2.7ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:27', '2024-06-18 00:57:27')  (3.7ms) COMMIT Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.2ms) Fe::Notifier#notification: processed outbound mail in 569.0ms  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.3ms) TRUNCATE TABLE `fe_addresses`  (26.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (26.3ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:28', '2024-06-18 00:57:28')  (1.7ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.9ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (19.7ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (28.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.2ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.3ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:28', '2024-06-18 00:57:28')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 7.0ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (19.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.3ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:29', '2024-06-18 00:57:29')  (1.4ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.9ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.2ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:29', '2024-06-18 00:57:29')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 9.5ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.1ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (5.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 00:57:30', '2024-06-18 00:57:30')  (1.6ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (29.0ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 78', '2024-06-18 00:57:30', '2024-06-18 00:57:30')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:30.668943' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 183) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 183', 183, '2024-06-18 00:57:30', '2024-06-18 00:57:30')  (1.7ms) COMMIT Processing by Fe::Admin::QuestionPagesController#show as JS Parameters: {"question_sheet_id"=>"1", "id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`id` = 1 ORDER BY number LIMIT 1 Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (39.5ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (28.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (46.1ms) TRUNCATE TABLE `fe_applications`  (51.2ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (29.8ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (26.9ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (23.4ms) TRUNCATE TABLE `users`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 79', '2024-06-18 00:57:33', '2024-06-18 00:57:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:33', '2024-06-18 00:57:33', 1) Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:57:33' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.3ms) INSERT INTO `fe_references` (`question_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'email_1@email.com', 'created', '2024-06-18 00:57:33', '2024-06-18 00:57:33', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:33' WHERE `fe_references`.`id` = 1  (12.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 80', '2024-06-18 00:57:33', '2024-06-18 00:57:33')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Update (1.3ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 00:57:33' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 81', '2024-06-18 00:57:33', '2024-06-18 00:57:33')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Update (1.2ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 3 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 3, `fe_references`.`updated_at` = '2024-06-18 00:57:33' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (28.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:33', '2024-06-18 00:57:33') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:33' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (25.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:34', '2024-06-18 00:57:34') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:34' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1 Processing by Fe::Admin::EmailTemplatesController#new as HTML Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (39.8ms) TRUNCATE TABLE `fe_addresses`  (26.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (38.2ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (26.0ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (44.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (4.3ms) SELECT COUNT(*) FROM `fe_email_templates` Processing by Fe::Admin::EmailTemplatesController#create as HTML Parameters: {"email_template"=>{"content"=>"Content", "name"=>"Name", "subject"=>"Subject"}}  (0.7ms) BEGIN Fe::EmailTemplate Create (1.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `subject`, `created_at`, `updated_at`) VALUES ('Name', 'Content', 'Subject', '2024-06-18 00:57:35', '2024-06-18 00:57:35')  (1.5ms) COMMIT Redirected to http://test.host/fe/admin/email_templates Completed 302 Found in 16ms (ActiveRecord: 3.3ms)  (2.4ms) SELECT COUNT(*) FROM `fe_email_templates`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (43.0ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.5ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Template', '2024-06-18 00:57:35', '2024-06-18 00:57:35')  (1.5ms) COMMIT Processing by Fe::Admin::EmailTemplatesController#index as HTML Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (19.8ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (73.0ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:35', '2024-06-18 00:57:35')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 82', '2024-06-18 00:57:35', '2024-06-18 00:57:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:36.029084' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 184) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 184', 184, '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 108', TRUE, '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:36' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:36' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_2', 'fn_2', 'ln_2', 'phone_2', 'initial@ref.com', 'created', '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.7ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answers"=>{"1"=>"answer here"}, "reference"=>{"1"=>{"email"=>"email@reference.com", "first_name"=>"FN", "last_name"=>"LN", "phone"=>"phone", "relationship"=>"roommate", "title"=>"A"}}, "id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 59538aad-1e5a-4b87-a3c7-c660bdfd2a76) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.4ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'f68bb25fb4738241b5d06705ef36dff3' LIMIT 1 Fe::ReferenceSheet Update (2.3ms) UPDATE `fe_references` SET `relationship` = 'roommate', `title` = 'A', `first_name` = 'FN', `last_name` = 'LN', `phone` = 'phone', `email` = 'email@reference.com', `access_key` = 'f68bb25fb4738241b5d06705ef36dff3' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Update (1.4ms) UPDATE `fe_applications` SET `locale` = NULL, `updated_at` = '2024-06-18 00:57:36' WHERE `fe_applications`.`id` = 1  (1.7ms) COMMIT  (1.5ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.5ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.4ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (15.2ms) Completed 200 OK in 176ms (Views: 30.7ms | ActiveRecord: 35.3ms) Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (73.8ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (32.1ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (31.0ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 83', '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:36.864197' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 185) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 185', 185, '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:36', '2024-06-18 00:57:36')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 109', TRUE, '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:36', '2024-06-18 00:57:36') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:36' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 84', '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.8ms) COMMIT  (0.8ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:37.023959' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 186) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 186, '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 110', TRUE, '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:37' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:37', '2024-06-18 00:57:37', 2) Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (7.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 00:57:37' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_3', 'fn_3', 'ln_3', 'phone_3', 'initial@ref.com', 'created', '2024-06-18 00:57:37', '2024-06-18 00:57:37', 2) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:37' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"ref answer here"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'ref answer here', '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 5619b694-d9d2-4c86-8793-60d041f52550) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.5ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.8ms) Completed 200 OK in 172ms (Views: 3.3ms | ActiveRecord: 20.5ms) Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (1.4ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 85', '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:37.790810' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 187) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 186', 187, '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 111', TRUE, '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 86', '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:37.894271' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 188) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 188, '2024-06-18 00:57:37', '2024-06-18 00:57:37')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 112', TRUE, 'answer_sheet', 'email', '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 00:57:37', '2024-06-18 00:57:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:37' WHERE `fe_pages`.`id` = 2  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:57:37', '2024-06-18 00:57:37', 2) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 00:57:37' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_4', 'fn_4', 'ln_4', 'phone_4', 'initial@ref.com', 'created', '2024-06-18 00:57:37', '2024-06-18 00:57:37', 2) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:38' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT Fe::ReferenceSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'c602a61787eb0cbbeb4cc7d113540902' LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `access_key` = 'c602a61787eb0cbbeb4cc7d113540902', `updated_at` = '2024-06-18 00:57:38', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"a"=>"c602a61787eb0cbbeb4cc7d113540902", "answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"other@email.com"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'other@email.com' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 061a1276-37e7-42c5-9197-ec465ee977d9) to Test(default) with arguments: #>, [2]  (0.4ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.4ms) Completed 200 OK in 64ms (Views: 2.8ms | ActiveRecord: 20.1ms) Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (40.4ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 87', '2024-06-18 00:57:38', '2024-06-18 00:57:38')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:38.532750' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 189) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 187', 189, '2024-06-18 00:57:38', '2024-06-18 00:57:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:38', '2024-06-18 00:57:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:38', '2024-06-18 00:57:38')  (2.0ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.0ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (4.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (1.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (15.9ms) Completed 200 OK in 61ms (Views: 18.3ms | ActiveRecord: 21.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (39.2ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 88', '2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (4.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:39.068513' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 190) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 188', 190, '2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 113', TRUE, TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:39' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 114', TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:39' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 115', TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:39' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (5.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.8ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (10.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (35.4ms) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (4.9ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (79.0ms) Completed 200 OK in 112ms (Views: 53.6ms | ActiveRecord: 36.1ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (42.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 89', '2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:39.852149' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 191) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 189', 191, '2024-06-18 00:57:39', '2024-06-18 00:57:39')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 116', TRUE, TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:39' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 117', TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:39' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 118', TRUE, '2024-06-18 00:57:39', '2024-06-18 00:57:39') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:57:40', '2024-06-18 00:57:40') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:40' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.3ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (5.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (8.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (27.8ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (64.0ms) Completed 200 OK in 96ms (Views: 39.4ms | ActiveRecord: 34.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.0ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.8ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 90', '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 119', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:40', '2024-06-18 00:57:40', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 91', '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:40.637569' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 192) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 190', 192, '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 192) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:40.653157' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 192) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:40', '2024-06-18 00:57:40') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:40' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 00:57:40', '2024-06-18 00:57:40')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.4ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 92', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 120', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:41', '2024-06-18 00:57:41', '') Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 93', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:41.202966' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 193) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 191', 193, '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 193) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:41.218971' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 193) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:41', '2024-06-18 00:57:41') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:41' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (26.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 94', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 121', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:41', '2024-06-18 00:57:41', 'a;b') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 95', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:41.759148' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 194) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 192', 194, '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 194) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:41.775278' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 194) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:41', '2024-06-18 00:57:41') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:41' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 00:57:41', '2024-06-18 00:57:41')  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 96', '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 122', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:42', '2024-06-18 00:57:42', 'a; b\n') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 97', '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:42.328482' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 195) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 193', 195, '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 195) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:42.344733' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 195) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:57:42', '2024-06-18 00:57:42') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:42' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 00:57:42', '2024-06-18 00:57:42')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.4ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (24.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (28.4ms) TRUNCATE TABLE `fe_applications`  (35.3ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (46.2ms) TRUNCATE TABLE `fe_answers`  (41.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (27.1ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (25.2ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 98', '2024-06-18 00:57:48', '2024-06-18 00:57:48')  (1.6ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_question_sheets` Processing by Fe::Admin::QuestionSheetsController#duplicate as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 98 - COPY', '2024-06-18 00:57:48', '2024-06-18 00:57:48')  (1.2ms) COMMIT Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Redirected to http://test.host/ Completed 302 Found in 18ms (ActiveRecord: 8.2ms)  (2.5ms) SELECT COUNT(*) FROM `fe_question_sheets` Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY `fe_question_sheets`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (41.5ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 99', '2024-06-18 00:57:48', '2024-06-18 00:57:48')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 100', TRUE, '2024-06-18 00:57:48', '2024-06-18 00:57:48')  (1.1ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = FALSE ORDER BY label Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = TRUE ORDER BY label Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin (11.2ms) Completed 200 OK in 3452ms (Views: 3444.8ms | ActiveRecord: 2.3ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (35.5ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 101', '2024-06-18 00:57:52', '2024-06-18 00:57:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:52.631605' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 196) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 194', 196, '2024-06-18 00:57:52', '2024-06-18 00:57:52')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:52.657504' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 197) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 195', 197, '2024-06-18 00:57:52', '2024-06-18 00:57:52')  (1.3ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/panels/_page.html.erb [2 times] (2.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_pages_list.html.erb (7.3ms) Fe::Element Load (11.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (18.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin (41.1ms) Completed 200 OK in 61ms (Views: 38.7ms | ActiveRecord: 13.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (22.9ms) TRUNCATE TABLE `fe_question_sheets`  (40.2ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 102', '2024-06-18 00:57:53', '2024-06-18 00:57:53')  (1.7ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#archive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = TRUE WHERE `fe_question_sheets`.`id` = 1  (1.7ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 10ms (ActiveRecord: 4.3ms) Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 103', TRUE, '2024-06-18 00:57:53', '2024-06-18 00:57:53')  (1.5ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#unarchive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::QuestionSheet Update (1.0ms) UPDATE `fe_question_sheets` SET `archived` = FALSE WHERE `fe_question_sheets`.`id` = 1  (1.5ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 9ms (ActiveRecord: 3.9ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (27.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceSheet Create (6.5ms) INSERT INTO `fe_references` (`relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES ('relationship_5', 'fn_5', 'ln_5', 'phone_5', 'email_2@email.com', 'created', '2024-06-18 00:57:53', '2024-06-18 00:57:53')  (1.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (28.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (26.3ms) TRUNCATE TABLE `fe_email_templates`  (26.1ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:57:54', '2024-06-18 00:57:54', 1) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:57:54' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:54', '2024-06-18 00:57:54')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 1, 'relationship_6', 'fn_6', 'ln_6', 'phone_6', 'email_3@email.com', 'created', '2024-06-18 00:57:54', '2024-06-18 00:57:54', 1) Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:54' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (28.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (25.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (23.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:57:54', '2024-06-18 00:57:54')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:57:54', '2024-06-18 00:57:54')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (5.9ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_7', 'fn_7', 'ln_7', 'phone_7', 'email_4@email.com', 'created', '2024-06-18 00:57:54', '2024-06-18 00:57:54')  (1.4ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (33.4ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (5.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:57:55', '2024-06-18 00:57:55')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:57:55', '2024-06-18 00:57:55')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (5.8ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_8', 'fn_8', 'ln_8', 'phone_8', 'email_5@email.com', 'created', '2024-06-18 00:57:55', '2024-06-18 00:57:55')  (1.4ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.3ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (35.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 104', '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:56.489450' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 198) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 196', 198, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:56.516916' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 199) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 197', 199, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:56.540246' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 200) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 198', 200, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:56.563595' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 201) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 199', 201, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:56.586524' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 202) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 200', 202, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:56', '2024-06-18 00:57:56', 'Fe::Element', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:57:56', '2024-06-18 00:57:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:56' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:57:56', '2024-06-18 00:57:56') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:56' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:57:56', '2024-06-18 00:57:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:56' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:56' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_9', 'fn_9', 'ln_9', 'phone_9', 'email_6@email.com', 'created', '2024-06-18 00:57:56', '2024-06-18 00:57:56') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:56' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 00:57:56', '2024-06-18 00:57:56')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 105', '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:57.327869' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 203) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 201', 203, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:57.353172' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 204) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 202', 204, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:57.376116' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 205) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 203', 205, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:57.399016' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 206) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 204', 206, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:57.421667' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 207) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 205', 207, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:57', '2024-06-18 00:57:57') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:57:57', '2024-06-18 00:57:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:57' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:57:57', '2024-06-18 00:57:57', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:57' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:57:57', '2024-06-18 00:57:57') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:57' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:57' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 3, '2024-06-18 00:57:57', '2024-06-18 00:57:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:57' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_10', 'fn_10', 'ln_10', 'phone_10', 'email_7@email.com', 'created', '2024-06-18 00:57:57', '2024-06-18 00:57:57') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:57:57' WHERE `fe_references`.`id` = 1  (3.8ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 00:57:57', '2024-06-18 00:57:57')  (1.9ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 106', '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:58.269091' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 208) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 206', 208, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:58.294864' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 209) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 207', 209, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:58.317820' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 210) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 208', 210, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:58.340615' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 211) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 209', 211, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:58.363194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 212) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 210', 212, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:58', '2024-06-18 00:57:58', 'Fe::Element', 'yes') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:57:58', '2024-06-18 00:57:58') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:58' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:57:58', '2024-06-18 00:57:58') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:58' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:57:58', '2024-06-18 00:57:58') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:58' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:58' WHERE `fe_pages`.`id` = 4  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_11', 'fn_11', 'ln_11', 'phone_11', 'email_8@email.com', 'created', '2024-06-18 00:57:58', '2024-06-18 00:57:58') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:57:58' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 00:57:58', '2024-06-18 00:57:58')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (21.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 107', '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.097596' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 213) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 211', 213, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.123566' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 214) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 212', 214, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.148117' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 215) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 213', 215, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.174123' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 216) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 214', 216, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.197664' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 217) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 215', 217, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:57:59', '2024-06-18 00:57:59') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:57:59', '2024-06-18 00:57:59') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:59' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:57:59', '2024-06-18 00:57:59', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:59' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:57:59', '2024-06-18 00:57:59') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:57:59' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:57:59' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_12', 'fn_12', 'ln_12', 'phone_12', 'email_9@email.com', 'created', '2024-06-18 00:57:59', '2024-06-18 00:57:59') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (6.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:57:59' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.8ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (32.5ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 108', '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 109', '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:57:59.998111' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 218) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 216', 218, '2024-06-18 00:57:59', '2024-06-18 00:57:59')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 218) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:00.018892' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 218) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1, `updated_at` = '2024-06-18 00:58:00' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 123', TRUE, '2024-06-18 00:58:00', '2024-06-18 00:58:00') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:00', '2024-06-18 00:58:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:00' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:58:00', '2024-06-18 00:58:00', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:58:00' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-17 23:58:00', 'relationship_13', 'fn_13', 'ln_13', 'phone_13', 'email_10@email.com', 'started', '2024-06-18 00:58:00', '2024-06-18 00:58:00', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:00' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.5ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.4ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.3ms) COMMIT Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (45.5ms) TRUNCATE TABLE `fe_pages`  (41.1ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (31.8ms) TRUNCATE TABLE `phone_numbers`  (37.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 110', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 111', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:00.714192' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 219) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 217', 219, '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 219) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:00.732132' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 219) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 124', TRUE, '2024-06-18 00:58:00', '2024-06-18 00:58:00') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:00', '2024-06-18 00:58:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:00' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:58:00', '2024-06-18 00:58:00', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:58:00' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-17 23:58:00', 'relationship_14', 'fn_14', 'ln_14', 'phone_14', 'email_11@email.com', 'started', '2024-06-18 00:58:00', '2024-06-18 00:58:00', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:00' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 00:58:00', '2024-06-18 00:58:00')  (1.4ms) COMMIT Fe::ReferenceSheet Update (0.9ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.3ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '38cd0088f7b8e27fec431786c69aee54' LIMIT 1 Fe::ReferenceSheet Update (1.6ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = '38cd0088f7b8e27fec431786c69aee54', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (15.8ms) COMMIT  (2.8ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 112', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 113', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:01.366932' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 220) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 218', 220, '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 220) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:01.384619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 220) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 125', TRUE, '2024-06-18 00:58:01', '2024-06-18 00:58:01') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:01', '2024-06-18 00:58:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:01' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:58:01', '2024-06-18 00:58:01', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:58:01' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-17 23:58:01', 'relationship_15', 'fn_15', 'ln_15', 'phone_15', 'email_12@email.com', 'started', '2024-06-18 00:58:01', '2024-06-18 00:58:01', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:01' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.4ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers`  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 114', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 115', '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:01.998561' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 221) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 219', 221, '2024-06-18 00:58:01', '2024-06-18 00:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 221) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:02.017937' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 221) Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `question_sheet_id` = 1, `updated_at` = '2024-06-18 00:58:02' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 126', TRUE, '2024-06-18 00:58:02', '2024-06-18 00:58:02') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:02', '2024-06-18 00:58:02') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:02' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:58:02', '2024-06-18 00:58:02', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:58:02' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-17 23:58:02', 'relationship_16', 'fn_16', 'ln_16', 'phone_16', 'email_13@email.com', 'started', '2024-06-18 00:58:02', '2024-06-18 00:58:02', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:02' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::EmailTemplate Create (3.8ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.5ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'created' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.2ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '5bb49b2bd3402bd913249d2346f4f008' LIMIT 1 Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `access_key` = '5bb49b2bd3402bd913249d2346f4f008', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT  (2.5ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 116', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 117', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:02.654215' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 222) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 220', 222, '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 222) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:02.672313' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 222) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 127', TRUE, '2024-06-18 00:58:02', '2024-06-18 00:58:02') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:02', '2024-06-18 00:58:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:02' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 00:58:02', '2024-06-18 00:58:02', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 00:58:02' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-17 23:58:02', 'relationship_17', 'fn_17', 'ln_17', 'phone_17', 'email_14@email.com', 'started', '2024-06-18 00:58:02', '2024-06-18 00:58:02', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:02' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.7ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 00:58:02', '2024-06-18 00:58:02')  (1.4ms) COMMIT Fe::ReferenceSheet Update (0.9ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.0ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '78c5cf83bbb17b6522ecbda00c03438a' LIMIT 1 Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = '78c5cf83bbb17b6522ecbda00c03438a', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (2.7ms) SELECT COUNT(*) FROM `fe_answers`  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (19.8ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1 Fe::ReferenceSheet Exists (6.2ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '1971ccfc18ee60c096572332eb3dd4d7' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '5d24017500d623bbf120c99962245d1e' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a9a170ed58535044549bd1bb46ab48c8' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a7092a43e96b47cb944bef83d0f775e6' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'e61de1e47387c0048c3dce42f0f065b2' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '94dcf65400e60323054723c4601ad54d' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '1b81fbc6738bc01f508d711ff62e6e17' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'fb2dec973732b907c08aae6e76006c3c' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '2700142d07d67cce2bd372001b2b30af' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '110f9a02dc72811bb6136858adaefbb4' LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 118', '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:03.690930' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 223) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 221', 223, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:03.716435' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 224) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 222', 224, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:03.739003' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 225) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 223', 225, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:03.761659' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 226) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 224', 226, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:03.784253' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 227) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 225', 227, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:03', '2024-06-18 00:58:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', FALSE, '2024-06-18 00:58:03', '2024-06-18 00:58:03') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_18', 'fn_18', 'ln_18', 'phone_18', 'email_15@email.com', 'created', '2024-06-18 00:58:03', '2024-06-18 00:58:03') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:03' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (24.4ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 119', '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:04.308236' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 228) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 226', 228, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:04.334336' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 229) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 227', 229, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:04.358558' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 230) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 228', 230, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:04.383906' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 231) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 229', 231, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:04.407293' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 232) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 230', 232, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.1ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:58:04', '2024-06-18 00:58:04') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:04' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:04', '2024-06-18 00:58:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:04' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:04' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_19', 'fn_19', 'ln_19', 'phone_19', 'email_16@email.com', 'created', '2024-06-18 00:58:04', '2024-06-18 00:58:04') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:58:04' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 120', '2024-06-18 00:58:04', '2024-06-18 00:58:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.019999' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 233) Fe::Page Create (1.4ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 231', 233, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.046662' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 234) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 232', 234, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.069541' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 235) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 233', 235, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.092955' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 236) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 234', 236, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.116877' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 237) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 235', 237, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:05' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (2.0ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:05' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:05' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_20', 'fn_20', 'ln_20', 'phone_20', 'email_17@email.com', 'created', '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:58:05' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (25.7ms) TRUNCATE TABLE `fe_email_templates`  (26.0ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (24.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 121', '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.747179' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 238) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 236', 238, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.773922' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 239) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 237', 239, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.798556' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 240) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 238', 240, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.821286' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 241) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 239', 241, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:05.844222' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 242) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 240', 242, '2024-06-18 00:58:05', '2024-06-18 00:58:05')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 128', TRUE, '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:05' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:05', '2024-06-18 00:58:05', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:05' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 00:58:05', '2024-06-18 00:58:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:06' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:05' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 129', TRUE, '2024-06-18 00:58:06', '2024-06-18 00:58:06') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:06' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:06', '2024-06-18 00:58:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:06' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 122', '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.143075' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 243) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 241', 243, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.167995' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 244) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 242', 244, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.191806' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 245) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 243', 245, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.216070' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 246) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 244', 246, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.240656' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 247) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 245', 247, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_21', 'fn_21', 'ln_21', 'phone_21', 'email_18@email.com', 'created', '2024-06-18 00:58:06', '2024-06-18 00:58:06') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.8ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (6.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (3.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.7ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (2.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:06' WHERE `fe_references`.`id` = 1  (3.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.6ms) UPDATE `fe_references` SET `visible` = FALSE, `visibility_cache_key` = 'something' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.6ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.8ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618005806000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:06' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.4ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (71.7ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (34.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 123', '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:06.990514' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 248) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 246', 248, '2024-06-18 00:58:06', '2024-06-18 00:58:06')  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.023500' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 249) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 247', 249, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (3.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.052091' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 250) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 248', 250, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.081709' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 251) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 249', 251, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.113560' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 252) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 250', 252, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 130', TRUE, '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:07' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:07', '2024-06-18 00:58:07', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:07' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:07' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:07' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 131', TRUE, '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:07' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:07' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:07' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 124', '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.518911' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 253) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 251', 253, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (3.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.591276' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 254) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 252', 254, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.615415' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 255) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 253', 255, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.639357' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 256) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 254', 256, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:07.663940' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 257) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 255', 257, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.2ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 00:58:07', '2024-06-18 00:58:07')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_22', 'fn_22', 'ln_22', 'phone_22', 'email_19@email.com', 'created', '2024-06-18 00:58:07', '2024-06-18 00:58:07') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618005807000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:07' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (43.5ms) TRUNCATE TABLE `fe_elements`  (23.9ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (61.6ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (26.0ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 125', '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.283852' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 258) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 256', 258, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.313062' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 259) Fe::Page Create (1.5ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 257', 259, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.338389' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 260) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 258', 260, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.363612' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 261) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 259', 261, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.388065' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 262) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 260', 262, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 132', TRUE, '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:08' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (13.3ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:08', '2024-06-18 00:58:08', 1, 'Fe::Element', 'yes') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (13.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:08' WHERE `fe_pages`.`id` = 1  (12.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.4ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:08' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:08' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 133', TRUE, '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:08' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:08' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:08' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 126', '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.730096' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 263) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 261', 263, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.754699' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 264) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 262', 264, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.779804' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 265) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 263', 265, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.805053' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 266) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 264', 266, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:08.829647' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 267) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 265', 267, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_23', 'fn_23', 'ln_23', 'phone_23', 'email_20@email.com', 'created', '2024-06-18 00:58:08', '2024-06-18 00:58:08') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.3ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:08' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.0ms) UPDATE `fe_references` SET `visible` = FALSE WHERE `fe_references`.`id` = 1  (0.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 00:58:08', '2024-06-18 00:58:08')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618005808000000', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:58:09' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (35.3ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 127', '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.439011' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 268) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 266', 268, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.465990' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 269) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 267', 269, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.489757' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 270) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 268', 270, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.514988' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 271) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 269', 271, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.540451' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 272) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 270', 272, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 134', TRUE, '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:09', '2024-06-18 00:58:09', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:09' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 135', TRUE, '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:09' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:09' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 128', '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.857537' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 273) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 271', 273, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.881539' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 274) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 272', 274, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.905811' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 275) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 273', 275, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.929651' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 276) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 274', 276, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:09.952562' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 277) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 275', 277, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 00:58:09', '2024-06-18 00:58:09')  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_24', 'fn_24', 'ln_24', 'phone_24', 'email_21@email.com', 'created', '2024-06-18 00:58:09', '2024-06-18 00:58:09') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (2.3ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618005809000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:10' WHERE `fe_references`.`id` = 1  (3.2ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'yes', `updated_at` = '2024-06-18 00:58:11' WHERE `fe_answers`.`id` = 1  (3.1ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 136', TRUE, '2024-06-18 00:58:11', '2024-06-18 00:58:11') Fe::Page Load (7.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:11' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:11', '2024-06-18 00:58:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:11', '2024-06-18 00:58:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_25', 'fn_25', 'ln_25', 'phone_25', 'email_22@email.com', 'created', '2024-06-18 00:58:11', '2024-06-18 00:58:11') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:11' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 137', TRUE, '2024-06-18 00:58:11', '2024-06-18 00:58:11') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.6ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'some text response', '2024-06-18 00:58:11', '2024-06-18 00:58:11')  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 138', TRUE, '2024-06-18 00:58:12', '2024-06-18 00:58:12') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:12' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:12', '2024-06-18 00:58:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:12', '2024-06-18 00:58:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_26', 'fn_26', 'ln_26', 'phone_26', 'email_23@email.com', 'created', '2024-06-18 00:58:12', '2024-06-18 00:58:12') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.8ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 00:58:12' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 139', TRUE, '2024-06-18 00:58:12', '2024-06-18 00:58:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (19.6ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (27.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 129', '2024-06-18 00:58:12', '2024-06-18 00:58:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:12.978404' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 278) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 276', 278, '2024-06-18 00:58:12', '2024-06-18 00:58:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.004795' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 279) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 277', 279, '2024-06-18 00:58:12', '2024-06-18 00:58:12')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.029061' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 280) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 278', 280, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.052257' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 281) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 279', 281, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.075976' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 282) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 280', 282, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13', 'Fe::Element') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:13' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:13' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (28.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 130', '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.659365' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 283) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 281', 283, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.685991' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 284) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 282', 284, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.709894' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 285) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 283', 285, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.733906' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 286) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 284', 286, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:13.757406' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 287) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 285', 287, '2024-06-18 00:58:13', '2024-06-18 00:58:13')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL1', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:13' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL2', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'LVL3 (GRID)', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13', 2) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::ChoiceField', 'yes-no', 'LVL4', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:13', '2024-06-18 00:58:13') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.8ms) COMMIT Fe::ChoiceField Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'EL (LVL5)', TRUE, '2024-06-18 00:58:14', '2024-06-18 00:58:14', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.5ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'yes', '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 4, 'yes', '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 2  (3.1ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.8ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (28.1ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (24.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 131', '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:14.860619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 288) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 286', 288, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:14.887016' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 289) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 287', 289, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:14.910756' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 290) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 288', 290, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:14.934844' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 291) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 289', 291, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:14.958726' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 292) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 290', 292, '2024-06-18 00:58:14', '2024-06-18 00:58:14')  (1.8ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:14', '2024-06-18 00:58:14', 5, 'Fe::Page', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:15' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:15' WHERE `fe_pages`.`id` = 5  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.7ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.5ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 1  (4.0ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (22.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 132', '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:15.696232' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 293) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 291', 293, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:15.722541' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 294) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 292', 294, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:15.746120' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 295) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 293', 295, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:15.770107' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 296) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 294', 296, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:15.795329' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 297) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 295', 297, '2024-06-18 00:58:15', '2024-06-18 00:58:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:15', '2024-06-18 00:58:15', 'Fe::Element') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:15' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved', TRUE, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:15' WHERE `fe_pages`.`id` = 4  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved to become hidden', TRUE, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 3, 3, '2024-06-18 00:58:15', '2024-06-18 00:58:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:15' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 00:58:16' WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 00:58:16.066881' WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:16' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.6ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 1  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 133', '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.552603' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 298) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 296', 298, '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.578009' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 299) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 297', 299, '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.600242' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 300) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 298', 300, '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.622489' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 301) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 299', 301, '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.646176' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 302) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 300', 302, '2024-06-18 00:58:16', '2024-06-18 00:58:16')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:16', '2024-06-18 00:58:16', 5, 'Fe::Page') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:16', '2024-06-18 00:58:16') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:16' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 1  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 2 WHERE `fe_pages`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 2)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 3 WHERE `fe_pages`.`id` = 3  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 3)  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 4  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1) Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.788990' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 4) AND (`fe_pages`.`number` >= 1) AND (`fe_pages`.`number` < 301)  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 4 WHERE `fe_pages`.`id` = 5  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 4) Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:16.814521' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 5) AND (`fe_pages`.`number` >= 4) AND (`fe_pages`.`number` < 302)  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (23.2ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 134', '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:17.241565' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 303) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 301', 303, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:17.268274' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 304) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 302', 304, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:17.291722' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 305) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 303', 305, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:17.314787' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 306) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 304', 306, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:17.337226' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 307) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 305', 307, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:17', '2024-06-18 00:58:17', 5, 'Fe::Page', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:17', '2024-06-18 00:58:17') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:17' WHERE `fe_pages`.`id` = 4  (39.9ms) COMMIT Fe::ChoiceField Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 00:58:17', '2024-06-18 00:58:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 00:58:17', '2024-06-18 00:58:17') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:17' WHERE `fe_pages`.`id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.7ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.0ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (2.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 00:58:17', '2024-06-18 00:58:17')  (1.2ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.2ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (40.1ms) TRUNCATE TABLE `fe_question_sheets`  (70.6ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (86.3ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 135', '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:18.213711' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 308) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 306', 308, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:18.239631' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 309) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 307', 309, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:18.263237' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 310) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 308', 310, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:18.286880' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 311) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 309', 311, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:18.309820' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 312) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 310', 312, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the enclosed element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:18', '2024-06-18 00:58:18', 'Fe::Element') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:18', '2024-06-18 00:58:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:18' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the enclosing element', TRUE, '2024-06-18 00:58:18', '2024-06-18 00:58:18', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.2ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 00:58:18', '2024-06-18 00:58:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (0.9ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:18' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.4ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 00:58:18', '2024-06-18 00:58:18')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (44.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (23.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (26.1ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (34.1ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (24.0ms) TRUNCATE TABLE `fe_people`  (23.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 136', '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:19.821639' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 313) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 311', 313, '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:19.847244' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 314) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 312', 314, '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:19.870252' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 315) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 313', 315, '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:19.893179' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 316) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 314', 316, '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:19.915663' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 317) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 315', 317, '2024-06-18 00:58:19', '2024-06-18 00:58:19')  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:19', '2024-06-18 00:58:19', 5, 'Fe::Page') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:19', '2024-06-18 00:58:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:19' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (33.9ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (41.6ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (25.6ms) TRUNCATE TABLE `fe_pages`  (26.8ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (37.2ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (29.7ms) TRUNCATE TABLE `fe_question_sheets`  (36.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (29.0ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 137', '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:22.395747' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 318) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 316', 318, '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.6ms) COMMIT  (1.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:22.423677' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 319) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 317', 319, '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:22.453225' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 320) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 318', 320, '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:22.482329' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 321) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 319', 321, '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:22.514078' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 322) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 320', 322, '2024-06-18 00:58:22', '2024-06-18 00:58:22')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 140', TRUE, '2024-06-18 00:58:22', '2024-06-18 00:58:22') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:22', '2024-06-18 00:58:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:22' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:22', '2024-06-18 00:58:22', 'Fe::Element') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 00:58:22', '2024-06-18 00:58:22') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (28.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 138', '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:23.218770' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 323) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 321', 323, '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:23.250289' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 324) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 322', 324, '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:23.279453' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 325) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 323', 325, '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:23.308597' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 326) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 324', 326, '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:23.336689' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 327) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 325', 327, '2024-06-18 00:58:23', '2024-06-18 00:58:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 141', TRUE, '2024-06-18 00:58:23', '2024-06-18 00:58:23') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 00:58:23', '2024-06-18 00:58:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:23' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:23', '2024-06-18 00:58:23', 'Fe::Element') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 00:58:23', '2024-06-18 00:58:23') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (25.6ms) TRUNCATE TABLE `fe_question_sheets`  (38.1ms) TRUNCATE TABLE `fe_references`  (24.7ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 142', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 143', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 144', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 145', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 5 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 4 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 6  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (44.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (23.6ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 146', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 147', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 148', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 149', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:24' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid conditional visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:24', '2024-06-18 00:58:24', 2, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (6.5ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 9  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (50.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.9ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (24.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 150', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 151', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:25' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 152', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:25' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 153', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:25' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.3ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 7 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 8  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (42.0ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (26.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionGrid Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 154', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:25', '2024-06-18 00:58:25', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 155', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:26' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 156', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:26' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26', 4, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 157', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:26' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (39.8ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (27.0ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 158', TRUE, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::Page Load (7.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 139', '2024-06-18 00:58:26', '2024-06-18 00:58:26')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:26.643547' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 328) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 326', 328, '2024-06-18 00:58:26', '2024-06-18 00:58:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 140', '2024-06-18 00:58:26', '2024-06-18 00:58:26')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:26.673963' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 329) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 327', 329, '2024-06-18 00:58:26', '2024-06-18 00:58:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:26' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 00:58:26', '2024-06-18 00:58:26') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:26' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.7ms) TRUNCATE TABLE `fe_addresses`  (28.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (26.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 141', '2024-06-18 00:58:27', '2024-06-18 00:58:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:27.217575' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 330) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 328', 330, '2024-06-18 00:58:27', '2024-06-18 00:58:27')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 159', TRUE, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:27' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 160', TRUE, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (24.4ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (28.7ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 142', '2024-06-18 00:58:27', '2024-06-18 00:58:27')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:27.782188' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 331) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 329', 331, '2024-06-18 00:58:27', '2024-06-18 00:58:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 161', TRUE, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:27' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 162', TRUE, '2024-06-18 00:58:27', '2024-06-18 00:58:27') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (80.3ms) TRUNCATE TABLE `fe_page_elements`  (27.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (36.8ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 163', TRUE, '2024-06-18 00:58:28', '2024-06-18 00:58:28') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:28' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 164', TRUE, '2024-06-18 00:58:28', '2024-06-18 00:58:28') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 165', TRUE, '2024-06-18 00:58:28', '2024-06-18 00:58:28') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT Fe::Question Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::Question', 'Fe::ChoiceField', 'Fe::DateField', 'Fe::TextField', 'Fe::ReferenceQuestion', 'Fe::AttachmentField', 'Fe::StateChooser') AND `fe_elements`.`id` IN (2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:28', '2024-06-18 00:58:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:28', '2024-06-18 00:58:28')  (1.6ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (23.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:29', '2024-06-18 00:58:29')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:29', '2024-06-18 00:58:29')  (1.5ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (25.9ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (24.6ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:29', '2024-06-18 00:58:29')  (2.0ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:29', '2024-06-18 00:58:29')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 166', TRUE, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 167', TRUE, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 168', TRUE, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 143', '2024-06-18 00:58:29', '2024-06-18 00:58:29')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:29.774326' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 332) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 330', 332, '2024-06-18 00:58:29', '2024-06-18 00:58:29')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:29' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:29', '2024-06-18 00:58:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 169', TRUE, TRUE, '2024-06-18 00:58:30', '2024-06-18 00:58:30', TRUE) Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 170', TRUE, '2024-06-18 00:58:30', '2024-06-18 00:58:30') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 171', TRUE, '2024-06-18 00:58:30', '2024-06-18 00:58:30', 'test') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 172', TRUE, '2024-06-18 00:58:30', '2024-06-18 00:58:30') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3, `conditional_type` = 'Fe::Element' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 144', '2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:30.835001' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 333) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 331', 333, '2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:30', '2024-06-18 00:58:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:30' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:58:30', '2024-06-18 00:58:30') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:30' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:30', '2024-06-18 00:58:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:30' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 00:58:30', '2024-06-18 00:58:30')  (1.4ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.2ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'nomatch', '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (19.5ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 173', TRUE, TRUE, '2024-06-18 00:58:31', '2024-06-18 00:58:31', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 174', TRUE, TRUE, '2024-06-18 00:58:31', '2024-06-18 00:58:31', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 145', '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.555698' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 334) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 332', 334, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.578983' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 335) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 333', 335, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.602121' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 336) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 334', 336, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.625070' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 337) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 335', 337, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.648395' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 338) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 336', 338, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 146', '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.691938' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 339) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 337', 339, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.715793' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 340) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 338', 340, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.739571' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 341) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 339', 341, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.762233' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 342) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 340', 342, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.785028' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 343) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 341', 343, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 00:58:31', '2024-06-18 00:58:31') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:31' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 00:58:31', '2024-06-18 00:58:31') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:31' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 147', '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.917545' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 344) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 342', 344, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.940543' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 345) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 343', 345, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.963787' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 346) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 344', 346, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:31.987659' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 347) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 345', 347, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.011771' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 348) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 346', 348, '2024-06-18 00:58:31', '2024-06-18 00:58:31')  (1.5ms) COMMIT Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (32.8ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (28.4ms) TRUNCATE TABLE `fe_people`  (38.1ms) TRUNCATE TABLE `fe_question_sheets`  (42.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 175', TRUE, TRUE, '2024-06-18 00:58:32', '2024-06-18 00:58:32', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 176', TRUE, TRUE, '2024-06-18 00:58:32', '2024-06-18 00:58:32', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.3ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 148', '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.577152' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 349) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 347', 349, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.600571' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 350) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 348', 350, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.624180' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 351) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 349', 351, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.647458' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 352) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 350', 352, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.670113' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 353) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 351', 353, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 149', '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.712690' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 354) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 352', 354, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.735554' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 355) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 353', 355, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.758534' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 356) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 354', 356, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.781009' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 357) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 355', 357, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:32.803470' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 358) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 356', 358, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:32', '2024-06-18 00:58:32')  (2.0ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 00:58:32', '2024-06-18 00:58:32') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:32' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 00:58:32', '2024-06-18 00:58:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:32' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 177', TRUE, TRUE, '2024-06-18 00:58:33', '2024-06-18 00:58:33', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 178', TRUE, TRUE, '2024-06-18 00:58:33', '2024-06-18 00:58:33', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 150', '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.457294' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 359) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 357', 359, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.480427' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 360) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 358', 360, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.503852' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 361) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 359', 361, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.527996' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 362) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 360', 362, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.550628' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 363) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 361', 363, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 151', '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.593081' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 364) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 362', 364, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.616000' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 365) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 363', 365, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.639770' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 366) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 364', 366, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.662919' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 367) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 365', 367, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:33.685826' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 368) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 366', 368, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:33', '2024-06-18 00:58:33')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 00:58:33', '2024-06-18 00:58:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:33' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 00:58:33', '2024-06-18 00:58:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:33' WHERE `fe_pages`.`id` = 6  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'match' WHERE `fe_answers`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (42.7ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 179', TRUE, TRUE, '2024-06-18 00:58:34', '2024-06-18 00:58:34', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 180', TRUE, TRUE, '2024-06-18 00:58:34', '2024-06-18 00:58:34', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 152', '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.348590' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 369) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 367', 369, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.371743' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 370) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 368', 370, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.394862' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 371) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 369', 371, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.417971' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 372) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 370', 372, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.441235' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 373) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 371', 373, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 153', '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.484713' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 374) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 372', 374, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.509892' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 375) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 373', 375, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.534352' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 376) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 374', 376, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.557700' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 377) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 375', 377, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.580973' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 378) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 376', 378, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 00:58:34', '2024-06-18 00:58:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:34' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 00:58:34', '2024-06-18 00:58:34') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:34' WHERE `fe_pages`.`id` = 6  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 154', '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:34.722767' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 379) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 377', 379, '2024-06-18 00:58:34', '2024-06-18 00:58:34')  (1.4ms) COMMIT Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (22.0ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 181', TRUE, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (9.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 182', TRUE, 0, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::QuestionGrid Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 183', TRUE, 1, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 155', '2024-06-18 00:58:35', '2024-06-18 00:58:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:35.230512' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 380) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 378', 380, '2024-06-18 00:58:35', '2024-06-18 00:58:35')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:35' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (1.1ms) SELECT MAX(`fe_elements`.`position`) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 183', TRUE, 2, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.7ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (27.4ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 184', TRUE, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 185', TRUE, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 186', TRUE, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 156', '2024-06-18 00:58:35', '2024-06-18 00:58:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:35.833475' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 381) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 379', 381, '2024-06-18 00:58:35', '2024-06-18 00:58:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:35' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 186', TRUE, '2024-06-18 00:58:35', '2024-06-18 00:58:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 00:58:36', '2024-06-18 00:58:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:36' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (26.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (24.4ms) TRUNCATE TABLE `fe_people`  (25.1ms) TRUNCATE TABLE `fe_question_sheets`  (38.1ms) TRUNCATE TABLE `fe_references`  (22.9ms) TRUNCATE TABLE `fe_users`  (27.1ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 187', TRUE, '2024-06-18 00:58:36', '2024-06-18 00:58:36', '---\nfr: fr label\n', '---\nfr: fr tip\n', '---\nfr: fr content\n') Fe::Page Load (11.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (33.2ms) TRUNCATE TABLE `fe_addresses`  (69.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (41.0ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `content_translations`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 188', '1\r\n2', TRUE, '2024-06-18 00:58:36', '2024-06-18 00:58:36', '---\nfr: \'\'\n') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (24.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 189', TRUE, '2024-06-18 00:58:37', '2024-06-18 00:58:37', '---\nfr: \'\'\n', '---\nfr: \'\'\n', '---\nfr: \'\'\n') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 190', TRUE, TRUE, '2024-06-18 00:58:37', '2024-06-18 00:58:37', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 191', TRUE, TRUE, '2024-06-18 00:58:38', '2024-06-18 00:58:38', TRUE) Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (32.2ms) TRUNCATE TABLE `fe_references`  (140.6ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (25.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 192', TRUE, TRUE, '2024-06-18 00:58:38', '2024-06-18 00:58:38', TRUE) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (35.2ms) TRUNCATE TABLE `fe_addresses`  (37.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (22.5ms) TRUNCATE TABLE `fe_question_sheets`  (34.6ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `css_class`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 193', TRUE, 'a 1 2', '2024-06-18 00:58:39', '2024-06-18 00:58:39') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (54.2ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (49.2ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (25.7ms) TRUNCATE TABLE `fe_users`  (61.1ms) TRUNCATE TABLE `phone_numbers`  (67.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 194', TRUE, '2024-06-18 00:58:39', '2024-06-18 00:58:39') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (132.7ms) TRUNCATE TABLE `fe_elements`  (82.0ms) TRUNCATE TABLE `fe_email_templates`  (78.6ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (77.1ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (24.8ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (47.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 157', '2024-06-18 00:58:40', '2024-06-18 00:58:40')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:40', '2024-06-18 00:58:40')  (12.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:40', '2024-06-18 00:58:40')  (14.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:40', '2024-06-18 00:58:40')  (16.1ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (5.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:40.595565' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 382) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 380', 382, '2024-06-18 00:58:40', '2024-06-18 00:58:40')  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.4ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.9ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (4.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application  (1.6ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_page_link.html.erb [1 times] (9.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (16.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_title.html.erb (1.8ms)  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (6.3ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGridWithTotal') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_submit_to.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (56.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (1.5ms) Completed 200 OK in 131ms (Views: 73.9ms | ActiveRecord: 29.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.8ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (34.1ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (27.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 158', '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 17ms (ActiveRecord: 7.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (37.9ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (24.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 159', '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:41', '2024-06-18 00:58:41')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 31ms (Views: 14.2ms | ActiveRecord: 7.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (24.0ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 160', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (10.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 32ms (Views: 22.7ms | ActiveRecord: 3.6ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (26.0ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 161', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:42.605327' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 383) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 381', 383, '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 195', TRUE, '2024-06-18 00:58:42', '2024-06-18 00:58:42') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:42' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:42', '2024-06-18 00:58:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 00:58:42' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:42' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_27', 'fn_27', 'ln_27', 'phone_27', 'email_24@email.com', 'created', '2024-06-18 00:58:42', '2024-06-18 00:58:42') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 00:58:42' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (0.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 00:58:42', '2024-06-18 00:58:42')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '43ea5b814b248e8433313bd573e956b5' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = '43ea5b814b248e8433313bd573e956b5' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.4ms Sent mail to email@email.com (103.7ms) Date: Mon, 17 Jun 2024 20:58:42 -0400 From: info@example.com To: email@email.com Message-ID: <6670dbc2ce047_6a9d2abc947a9@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.3ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.9ms Sent mail to email@email.com (4.9ms) Date: Mon, 17 Jun 2024 20:58:42 -0400 From: info@example.com To: email@email.com Message-ID: <6670dbc2e4eb4_6a9d2abc948eb@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 00:58:42' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (4.6ms) Completed 200 OK in 211ms (Views: 27.1ms | ActiveRecord: 14.7ms) Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (26.4ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:43', '2024-06-18 00:58:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:43', '2024-06-18 00:58:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 162', '2024-06-18 00:58:43', '2024-06-18 00:58:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:43', '2024-06-18 00:58:43')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 196', TRUE, '2024-06-18 00:58:43', '2024-06-18 00:58:43') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:43.476874' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 384) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 382', 384, '2024-06-18 00:58:43', '2024-06-18 00:58:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:43', '2024-06-18 00:58:43') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:43' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.6ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (21.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (33.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (37.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 91ms (Views: 44.1ms | ActiveRecord: 16.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.0ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 163', '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 164', '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:44.076013' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 385) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 383', 385, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 197', TRUE, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:44.130232' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 386) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 384', 386, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:44' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.6ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.7ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.2ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (7.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (13.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (21.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (22.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 67ms (Views: 26.5ms | ActiveRecord: 19.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (26.9ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 165', '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:44.746832' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 387) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 385', 387, '2024-06-18 00:58:44', '2024-06-18 00:58:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 198', TRUE, TRUE, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:44' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 199', TRUE, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:44' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 200', TRUE, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:44', '2024-06-18 00:58:44') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:44' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (5.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (25.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (26.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 78ms (Views: 30.1ms | ActiveRecord: 21.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.0ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (26.1ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:45', '2024-06-18 00:58:45')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:45', '2024-06-18 00:58:45')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 166', '2024-06-18 00:58:45', '2024-06-18 00:58:45')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:45', '2024-06-18 00:58:45')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:45.485830' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 388) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 386', 388, '2024-06-18 00:58:45', '2024-06-18 00:58:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 201', TRUE, TRUE, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 202', TRUE, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:45' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 203', TRUE, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 00:58:45', '2024-06-18 00:58:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 00:58:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (4.0ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 63ms (Views: 23.2ms | ActiveRecord: 17.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 167', '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:46.191192' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 389) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 387', 389, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 00:58:46.217079' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 390) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 388', 390, TRUE, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.4ms) COMMIT Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (19.2ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (33.9ms) TRUNCATE TABLE `fe_references`  (26.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 168', '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 00:58:46', '2024-06-18 00:58:46') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 00:58:46', '2024-06-18 00:58:46')  (1.6ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 25ms (ActiveRecord: 5.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (27.2ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:00:31', '2024-06-18 01:00:31')  (1.7ms) COMMIT  (1.1ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:00:31', '2024-06-18 01:00:31')  (3.3ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:00:32.055293' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:00:32', '2024-06-18 01:00:32')  (4.0ms) COMMIT  (0.7ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:00:32', '2024-06-18 01:00:32')  (12.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (6.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:00:32', '2024-06-18 01:00:32', TRUE) Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.8ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:00:32', '2024-06-18 01:00:32', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:00:32', '2024-06-18 01:00:32') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:00:32' WHERE `fe_pages`.`id` = 1  (15.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Completed 500 Internal Server Error in 200ms (ActiveRecord: 55.9ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (13.8ms) select table_name from information_schema.views where table_schema = 'fe_test'  (25.1ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (65.7ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (34.3ms) TRUNCATE TABLE `fe_references`  (90.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:02:27', '2024-06-18 01:02:27')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:02:27', '2024-06-18 01:02:27')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:02:27.482989' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:02:27', '2024-06-18 01:02:27')  (4.0ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:02:27', '2024-06-18 01:02:27')  (4.1ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (6.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:02:28', '2024-06-18 01:02:28', TRUE) Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:02:28', '2024-06-18 01:02:28', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:02:28', '2024-06-18 01:02:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:02:28' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Completed 500 Internal Server Error in 174ms (ActiveRecord: 39.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (6.3ms) select table_name from information_schema.views where table_schema = 'fe_test'  (25.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:05:50', '2024-06-18 01:05:50')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:05:50', '2024-06-18 01:05:50')  (4.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:05:50.837084' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:05:50', '2024-06-18 01:05:50')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:05:50', '2024-06-18 01:05:50')  (3.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (6.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:05:51', '2024-06-18 01:05:51', TRUE) Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:05:51', '2024-06-18 01:05:51', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:05:51', '2024-06-18 01:05:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:05:51' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.1ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (22.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (52.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (82.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (9.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (30.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (72.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (97.1ms) Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (305.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (462.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (587.2ms) Completed 200 OK in 769ms (Views: 628.8ms | ActiveRecord: 45.8ms) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) select table_name from information_schema.views where table_schema = 'fe_test'  (24.1ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (24.7ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (23.7ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (23.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.7ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:33', '2024-06-18 01:06:34')  (3.1ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:06:34', '2024-06-18 01:06:34')  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:34.248861' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:06:34', '2024-06-18 01:06:34')  (3.6ms) COMMIT  (0.7ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:34', '2024-06-18 01:06:34')  (3.8ms) COMMIT  (6.2ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:06:34', '2024-06-18 01:06:34') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:35', '2024-06-18 01:06:35') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:35' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (7.0ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (28.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (8.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (12.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (34.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (43.6ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (300.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (357.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (397.6ms) Completed 200 OK in 1119ms (Views: 423.5ms | ActiveRecord: 44.5ms)  (2.6ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) select table_name from information_schema.views where table_schema = 'fe_test'  (27.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:36', '2024-06-18 01:06:36')  (8.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:06:36', '2024-06-18 01:06:36')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:36.572781' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:06:36', '2024-06-18 01:06:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:36', '2024-06-18 01:06:36')  (1.6ms) COMMIT  (7.8ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (8.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (10.7ms) Completed 500 Internal Server Error in 121ms (ActiveRecord: 3.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:37', '2024-06-18 01:06:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:06:37', '2024-06-18 01:06:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:37.150177' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:06:37', '2024-06-18 01:06:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:37', '2024-06-18 01:06:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 2', TRUE, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 3', TRUE, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 5', TRUE, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:37' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:06:37', '2024-06-18 01:06:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.0ms) Completed 200 OK in 107ms (Views: 2.7ms | ActiveRecord: 34.8ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (22.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (19.8ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:38.084307' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 7', TRUE, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 8', TRUE, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 10', TRUE, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:06:38', '2024-06-18 01:06:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.2ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:06:38.375888' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:06:38.440058' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 207ms (Views: 1.7ms | ActiveRecord: 72.2ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.2ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (32.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (19.3ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (25.2ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:38.989618' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:06:38', '2024-06-18 01:06:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:39', '2024-06-18 01:06:39')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 11', TRUE, '2024-06-18 01:06:39', '2024-06-18 01:06:39') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:39', '2024-06-18 01:06:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:39' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.7ms) Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (10.5ms) Completed 200 OK in 48ms (Views: 10.1ms | ActiveRecord: 10.3ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (34.8ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:39', '2024-06-18 01:06:39')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:06:39', '2024-06-18 01:06:39')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:39.550509' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:06:39', '2024-06-18 01:06:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:39', '2024-06-18 01:06:39')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 12', TRUE, '2024-06-18 01:06:39', '2024-06-18 01:06:39') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:39', '2024-06-18 01:06:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:39' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.6ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.5ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (8.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (8.9ms) Completed 500 Internal Server Error in 37ms (ActiveRecord: 7.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:40.094786' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 13', TRUE, '2024-06-18 01:06:40', '2024-06-18 01:06:40', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 14', TRUE, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:40' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.7ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (37.4ms) Completed 200 OK in 76ms (Views: 39.1ms | ActiveRecord: 4.7ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (44.7ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:40.739423' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:40.772099' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 9', 9, '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:40', '2024-06-18 01:06:40')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:40' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:06:40', '2024-06-18 01:06:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:40' WHERE `fe_pages`.`id` = 2  (1.3ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:06:40.916136' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (17.2ms) Completed 200 OK in 88ms (Views: 18.7ms | ActiveRecord: 30.9ms) Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (27.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:41', '2024-06-18 01:06:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:06:41', '2024-06-18 01:06:41')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:41.405597' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:06:41', '2024-06-18 01:06:41')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:41', '2024-06-18 01:06:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:06:41', '2024-06-18 01:06:41') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:41', '2024-06-18 01:06:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:41' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (3.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:06:41', '2024-06-18 01:06:41')  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:06:41.588616' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.1ms) Completed 200 OK in 75ms (Views: 7.7ms | ActiveRecord: 29.7ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (15.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (31.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (37.5ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (28.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:42.089142' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 17', TRUE, '2024-06-18 01:06:42', '2024-06-18 01:06:42') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:42', '2024-06-18 01:06:42') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:42' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:06:42.199288' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:42' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.4ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (2.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.1ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (5.7ms) Completed 200 OK in 100ms (Views: 7.2ms | ActiveRecord: 50.3ms) Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:42.696718' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:42', '2024-06-18 01:06:42')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:06:42', '2024-06-18 01:06:42') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:42', '2024-06-18 01:06:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:42' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (16.7ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (33.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (53.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (3.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (17.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (33.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (47.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (96.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (178.3ms) Completed 200 OK in 246ms (Views: 194.9ms | ActiveRecord: 17.2ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:43.419162' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 19', TRUE, '2024-06-18 01:06:43', '2024-06-18 01:06:43') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:06:43', '2024-06-18 01:06:43') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:43' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.6ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (6.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (8.1ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (19.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (23.6ms) Completed 200 OK in 79ms (Views: 23.1ms | ActiveRecord: 10.5ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.1ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (29.2ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (27.2ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:06:44.000743' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:06:43', '2024-06-18 01:06:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:06:44', '2024-06-18 01:06:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:06:44', '2024-06-18 01:06:44', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:06:44', '2024-06-18 01:06:44', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:06:44', '2024-06-18 01:06:44') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:06:44' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.7ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (6.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (13.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.2ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (17.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (33.8ms) Completed 200 OK in 122ms (Views: 32.0ms | ActiveRecord: 33.1ms) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (29.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:35', '2024-06-18 01:09:35')  (3.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:09:35', '2024-06-18 01:09:35')  (3.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:35.585133' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:09:35', '2024-06-18 01:09:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:35', '2024-06-18 01:09:35')  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (9.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:09:36', '2024-06-18 01:09:36') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:36', '2024-06-18 01:09:36') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:36' WHERE `fe_pages`.`id` = 1  (3.2ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (3.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:09:36', '2024-06-18 01:09:36')  (4.9ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:09:36.479225' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:36' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (18.8ms) Completed 200 OK in 129ms (Views: 48.9ms | ActiveRecord: 31.1ms) Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (4.2ms) select table_name from information_schema.views where table_schema = 'fe_test'  (25.9ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:37', '2024-06-18 01:09:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:09:37', '2024-06-18 01:09:37')  (1.6ms) COMMIT  (0.8ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:37.594016' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:09:37', '2024-06-18 01:09:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:37', '2024-06-18 01:09:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 2', TRUE, '2024-06-18 01:09:37', '2024-06-18 01:09:37') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:37', '2024-06-18 01:09:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:37' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:09:37.710661' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:37' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.6ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (2.8ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.1ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.9ms) Completed 200 OK in 110ms (Views: 8.7ms | ActiveRecord: 53.3ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (29.1ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (24.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:38.223077' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:38.257122' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 4', 4, '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 3', TRUE, '2024-06-18 01:09:38', '2024-06-18 01:09:38') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:38', '2024-06-18 01:09:38') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:38' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (3.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:09:38', '2024-06-18 01:09:38') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:38' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:09:38.472683' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (10.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (14.3ms) Completed 200 OK in 118ms (Views: 15.8ms | ActiveRecord: 32.0ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:39.003162' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:09:38', '2024-06-18 01:09:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:39', '2024-06-18 01:09:39')  (1.4ms) COMMIT  (8.4ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (10.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (15.3ms) Completed 500 Internal Server Error in 126ms (ActiveRecord: 3.3ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (27.5ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:39', '2024-06-18 01:09:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:09:39', '2024-06-18 01:09:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:39.610994' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:09:39', '2024-06-18 01:09:39')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:39', '2024-06-18 01:09:39')  (1.4ms) COMMIT  (8.1ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:09:39', '2024-06-18 01:09:39') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:39', '2024-06-18 01:09:39') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:39' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (6.9ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (26.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (11.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (32.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (41.1ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (294.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (344.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (381.4ms) Completed 200 OK in 445ms (Views: 380.0ms | ActiveRecord: 23.2ms)  (2.5ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (26.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:40', '2024-06-18 01:09:40')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:09:40', '2024-06-18 01:09:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:40.523641' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:09:40', '2024-06-18 01:09:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:40', '2024-06-18 01:09:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 5', TRUE, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 6', TRUE, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 7', TRUE, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 8', TRUE, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:40' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:09:40', '2024-06-18 01:09:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:40' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:09:40.961500' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.2ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 01:09:41' WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:09:41.025775' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1, `updated_at` = '2024-06-18 01:09:41' WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.1ms) Completed 200 OK in 181ms (Views: 2.7ms | ActiveRecord: 71.2ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (25.3ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:41', '2024-06-18 01:09:41')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:09:41', '2024-06-18 01:09:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:41.554908' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:09:41', '2024-06-18 01:09:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:41', '2024-06-18 01:09:41')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 10', TRUE, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 11', TRUE, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 12', TRUE, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 13', TRUE, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:41' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:41' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:09:41', '2024-06-18 01:09:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:41' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 105ms (Views: 1.9ms | ActiveRecord: 34.5ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (29.0ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:42.380917' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 14', TRUE, '2024-06-18 01:09:42', '2024-06-18 01:09:42') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:42', '2024-06-18 01:09:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:42' WHERE `fe_pages`.`id` = 1  (23.4ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.6ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (6.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (8.4ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (11.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (22.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (25.8ms) Completed 200 OK in 82ms (Views: 25.2ms | ActiveRecord: 10.2ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.9ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (29.6ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (32.5ms) TRUNCATE TABLE `fe_references`  (24.1ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.5ms) COMMIT  (0.9ms) BEGIN Fe::Page Update All (3.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:43.009858' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:09:42', '2024-06-18 01:09:42')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:43', '2024-06-18 01:09:43')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:09:43', '2024-06-18 01:09:43', TRUE) Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:09:43', '2024-06-18 01:09:43', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:09:43', '2024-06-18 01:09:43') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:43' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (16.1ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (36.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (57.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (2.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (17.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (33.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (47.9ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (13.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (106.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (195.3ms) Completed 200 OK in 317ms (Views: 229.8ms | ActiveRecord: 31.9ms) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (22.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:43', '2024-06-18 01:09:43')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:09:43', '2024-06-18 01:09:43')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:43.807621' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:09:43', '2024-06-18 01:09:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:43', '2024-06-18 01:09:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:09:43', '2024-06-18 01:09:43') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:43', '2024-06-18 01:09:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:43' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (11.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (6.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (14.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (28.8ms) Completed 200 OK in 81ms (Views: 29.0ms | ActiveRecord: 17.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:44.362706' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 17', TRUE, '2024-06-18 01:09:44', '2024-06-18 01:09:44', TRUE) Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:09:44', '2024-06-18 01:09:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:44', '2024-06-18 01:09:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:44' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:09:44', '2024-06-18 01:09:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:44' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.8ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (4.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (30.6ms) Completed 200 OK in 70ms (Views: 32.2ms | ActiveRecord: 4.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:44.984115' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:44', '2024-06-18 01:09:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 19', TRUE, '2024-06-18 01:09:45', '2024-06-18 01:09:45') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:45', '2024-06-18 01:09:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:45' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (9.3ms) Completed 200 OK in 42ms (Views: 9.1ms | ActiveRecord: 9.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:09:45', '2024-06-18 01:09:45')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:09:45', '2024-06-18 01:09:45')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:09:45.540713' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:09:45', '2024-06-18 01:09:45')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:09:45', '2024-06-18 01:09:45')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:09:45', '2024-06-18 01:09:45') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:09:45', '2024-06-18 01:09:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:09:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (10.4ms) Completed 500 Internal Server Error in 40ms (ActiveRecord: 7.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:02', '2024-06-18 01:11:02')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:11:02', '2024-06-18 01:11:02')  (3.8ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:02.322979' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:11:02', '2024-06-18 01:11:02')  (3.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:02', '2024-06-18 01:11:02')  (12.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (7.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:11:02', '2024-06-18 01:11:02') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.8ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:03', '2024-06-18 01:11:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:03' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (22.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (46.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (73.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (28.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (65.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (90.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (291.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (434.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (551.2ms) Completed 200 OK in 708ms (Views: 595.8ms | ActiveRecord: 31.5ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.3ms) select table_name from information_schema.views where table_schema = 'fe_test'  (24.5ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (25.6ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:04', '2024-06-18 01:11:04')  (3.9ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:11:04', '2024-06-18 01:11:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:04.783645' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:11:04', '2024-06-18 01:11:04')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:04', '2024-06-18 01:11:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 2', TRUE, '2024-06-18 01:11:04', '2024-06-18 01:11:04') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:04', '2024-06-18 01:11:04') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:04' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.7ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.4ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:04.975770' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:04' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (3.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.6ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (2.8ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.2ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (15.8ms) Completed 200 OK in 136ms (Views: 17.2ms | ActiveRecord: 61.2ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:05.507804' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:05.540917' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 4', 4, '2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:05', '2024-06-18 01:11:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 3', TRUE, '2024-06-18 01:11:05', '2024-06-18 01:11:05') Fe::Page Load (5.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:05', '2024-06-18 01:11:05') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:05' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:11:05', '2024-06-18 01:11:05') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:05' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.2ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:05.691285' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:05' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (5.8ms) Completed 200 OK in 75ms (Views: 7.6ms | ActiveRecord: 31.3ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (22.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (28.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (26.8ms) TRUNCATE TABLE `phone_numbers`  (24.8ms) TRUNCATE TABLE `users`  (1.0ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (5.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:06.187318' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (9.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:11:06', '2024-06-18 01:11:06') Fe::Page Load (4.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:06', '2024-06-18 01:11:06') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (16.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:06.390622' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.7ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.4ms) Completed 200 OK in 74ms (Views: 8.0ms | ActiveRecord: 30.2ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (32.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (22.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:06.872201' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:06', '2024-06-18 01:11:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 5', TRUE, '2024-06-18 01:11:06', '2024-06-18 01:11:06') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:06', '2024-06-18 01:11:06') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:06' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.4ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (3.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (7.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (17.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (22.9ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (15.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (52.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (58.4ms) Completed 200 OK in 119ms (Views: 57.7ms | ActiveRecord: 10.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:07', '2024-06-18 01:11:07')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:11:07', '2024-06-18 01:11:07')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:07.512523' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:11:07', '2024-06-18 01:11:07')  (1.5ms) COMMIT  (0.8ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:07', '2024-06-18 01:11:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:11:07', '2024-06-18 01:11:07', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 7', TRUE, '2024-06-18 01:11:07', '2024-06-18 01:11:07') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:07', '2024-06-18 01:11:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:07' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:07', '2024-06-18 01:11:07') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:07' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (4.0ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (4.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (31.7ms) Completed 200 OK in 72ms (Views: 33.5ms | ActiveRecord: 5.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (24.9ms) TRUNCATE TABLE `fe_question_sheets`  (39.5ms) TRUNCATE TABLE `fe_references`  (25.6ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:08.182464' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (2.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (6.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.5ms) COMMIT  (9.6ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:11:08', '2024-06-18 01:11:08') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:08', '2024-06-18 01:11:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:08' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (8.1ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (17.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (35.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (4.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (6.0ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (12.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (21.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (66.5ms) Completed 200 OK in 138ms (Views: 64.3ms | ActiveRecord: 28.1ms)  (3.0ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_answers`  (26.2ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (40.8ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (33.7ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:08.854957' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:08', '2024-06-18 01:11:08')  (1.5ms) COMMIT  (8.2ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (9.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (11.4ms) Completed 500 Internal Server Error in 69ms (ActiveRecord: 3.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (36.1ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (23.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:09', '2024-06-18 01:11:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:11:09', '2024-06-18 01:11:09')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:09.390992' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:11:09', '2024-06-18 01:11:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:09', '2024-06-18 01:11:09')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 8', TRUE, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 10', TRUE, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 11', TRUE, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 12', TRUE, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:11:09', '2024-06-18 01:11:09') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:09.833293' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:09.896709' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.0ms) Completed 200 OK in 180ms (Views: 2.6ms | ActiveRecord: 71.7ms) Fe::QuestionGrid Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:10', '2024-06-18 01:11:10')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:11:10', '2024-06-18 01:11:10')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:10.425629' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:11:10', '2024-06-18 01:11:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:10', '2024-06-18 01:11:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 13', TRUE, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (5.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 14', TRUE, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 15', TRUE, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 17', TRUE, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:10' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:10' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:11:10', '2024-06-18 01:11:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:10' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 103ms (Views: 1.8ms | ActiveRecord: 35.5ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (36.7ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (5.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:11.249323' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:11:11', '2024-06-18 01:11:11', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:11:11', '2024-06-18 01:11:11', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:11:11', '2024-06-18 01:11:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.8ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (7.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (14.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.7ms) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (17.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (35.7ms) Completed 200 OK in 122ms (Views: 34.0ms | ActiveRecord: 31.2ms) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:11.855620' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:11', '2024-06-18 01:11:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 19', TRUE, '2024-06-18 01:11:11', '2024-06-18 01:11:11') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:11', '2024-06-18 01:11:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:11' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (10.6ms) Completed 500 Internal Server Error in 38ms (ActiveRecord: 7.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (23.6ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:12', '2024-06-18 01:11:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:11:12', '2024-06-18 01:11:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:12.410890' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:11:12', '2024-06-18 01:11:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:12', '2024-06-18 01:11:12')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:11:12', '2024-06-18 01:11:12') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:12', '2024-06-18 01:11:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:12' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (10.2ms) Completed 200 OK in 45ms (Views: 10.0ms | ActiveRecord: 10.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.9ms) TRUNCATE TABLE `fe_addresses`  (26.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (28.0ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (7.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:34', '2024-06-18 01:11:34')  (3.2ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (2.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:11:34', '2024-06-18 01:11:34')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:34.930484' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:11:34', '2024-06-18 01:11:34')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:35', '2024-06-18 01:11:35')  (2.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (6.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:11:35', '2024-06-18 01:11:35') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:35', '2024-06-18 01:11:35') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:35' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (16.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (34.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (55.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (21.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (52.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (70.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (329.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (446.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (532.3ms) Completed 200 OK in 683ms (Views: 576.5ms | ActiveRecord: 30.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (4.1ms) select table_name from information_schema.views where table_schema = 'fe_test'  (23.6ms) TRUNCATE TABLE `fe_addresses`  (28.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:37', '2024-06-18 01:11:37')  (4.0ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:11:37', '2024-06-18 01:11:37')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:37.346792' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:11:37', '2024-06-18 01:11:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:37', '2024-06-18 01:11:37')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 2', TRUE, '2024-06-18 01:11:37', '2024-06-18 01:11:37') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:37', '2024-06-18 01:11:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:37' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (3.1ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (2.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (6.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (16.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (21.5ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (12.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (47.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (54.1ms) Completed 200 OK in 136ms (Views: 53.5ms | ActiveRecord: 23.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:38.043747' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:38.076971' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 4', 4, '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 3', TRUE, '2024-06-18 01:11:38', '2024-06-18 01:11:38') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:38', '2024-06-18 01:11:38') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:11:38', '2024-06-18 01:11:38') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:38' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:38.248161' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:38' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (16.2ms) Completed 200 OK in 91ms (Views: 17.6ms | ActiveRecord: 31.0ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (22.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:38.735161' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:38', '2024-06-18 01:11:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:11:38', '2024-06-18 01:11:38') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:38', '2024-06-18 01:11:38') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:38' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.3ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:38.850513' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (3.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (4.2ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.1ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.6ms) Completed 200 OK in 96ms (Views: 8.1ms | ActiveRecord: 46.9ms) Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:39.349659' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 5', TRUE, '2024-06-18 01:11:39', '2024-06-18 01:11:39') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:39', '2024-06-18 01:11:39') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:39' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.8ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.9ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:39.531202' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:39' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.9ms) Completed 200 OK in 76ms (Views: 8.5ms | ActiveRecord: 31.4ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (26.0ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:11:39', '2024-06-18 01:11:39')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:40.015725' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.4ms) COMMIT  (8.0ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:11:40', '2024-06-18 01:11:40') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:40', '2024-06-18 01:11:40') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:40' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (6.9ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (26.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.4ms) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (17.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (52.3ms) Completed 200 OK in 117ms (Views: 50.8ms | ActiveRecord: 23.3ms)  (2.4ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:40.605110' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:40', '2024-06-18 01:11:40')  (1.8ms) COMMIT  (8.5ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (9.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (11.0ms) Completed 500 Internal Server Error in 67ms (ActiveRecord: 3.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.3ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:41.164593' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:11:41', '2024-06-18 01:11:41', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:11:41', '2024-06-18 01:11:41', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:11:41', '2024-06-18 01:11:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (6.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (13.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.2ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (16.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (33.8ms) Completed 200 OK in 114ms (Views: 31.9ms | ActiveRecord: 30.3ms) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.2ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:41.762768' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:41', '2024-06-18 01:11:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 7', TRUE, '2024-06-18 01:11:41', '2024-06-18 01:11:41') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:41', '2024-06-18 01:11:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:41' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.5ms) Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (9.4ms) Completed 200 OK in 42ms (Views: 9.2ms | ActiveRecord: 9.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.4ms) COMMIT  (0.9ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:42.314607' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 8', TRUE, '2024-06-18 01:11:42', '2024-06-18 01:11:42') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:42', '2024-06-18 01:11:42') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:42' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.8ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.4ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (9.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (10.3ms) Completed 500 Internal Server Error in 39ms (ActiveRecord: 6.9ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (27.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:42.863643' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:42', '2024-06-18 01:11:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:11:42', '2024-06-18 01:11:42', TRUE) Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 10', TRUE, '2024-06-18 01:11:42', '2024-06-18 01:11:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:42', '2024-06-18 01:11:42') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:42' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:42', '2024-06-18 01:11:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:42' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (4.1ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (30.7ms) Completed 200 OK in 67ms (Views: 32.6ms | ActiveRecord: 5.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.9ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (23.6ms) TRUNCATE TABLE `fe_people`  (24.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (6.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:43', '2024-06-18 01:11:43')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:11:43', '2024-06-18 01:11:43')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:43.520702' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:11:43', '2024-06-18 01:11:43')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:43', '2024-06-18 01:11:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 11', TRUE, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 12', TRUE, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 13', TRUE, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.1ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 14', TRUE, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:43' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:43' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:11:43', '2024-06-18 01:11:43') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:43' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:43.966465' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:43' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.3ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 01:11:44' WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:11:44.030302' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1, `updated_at` = '2024-06-18 01:11:44' WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.0ms) Completed 200 OK in 178ms (Views: 2.6ms | ActiveRecord: 72.1ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (32.5ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:11:44', '2024-06-18 01:11:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:11:44', '2024-06-18 01:11:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:11:44.548255' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:11:44', '2024-06-18 01:11:44')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:11:44', '2024-06-18 01:11:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 17', TRUE, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 18', TRUE, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 19', TRUE, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:44' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:11:44', '2024-06-18 01:11:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:11:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 100ms (Views: 1.7ms | ActiveRecord: 35.1ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:11', '2024-06-18 01:13:11')  (3.0ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (2.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:13:11', '2024-06-18 01:13:11')  (3.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:11.254135' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:13:11', '2024-06-18 01:13:11')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:11', '2024-06-18 01:13:11')  (3.8ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (6.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:13:11', '2024-06-18 01:13:11', TRUE) Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:13:11', '2024-06-18 01:13:11', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:13:11', '2024-06-18 01:13:11') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:11' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.7ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `updated_at` = '2024-06-18 01:13:12', `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (16.9ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (40.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (61.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (22.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (53.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (71.7ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (375.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (494.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (593.5ms) Completed 200 OK in 788ms (Views: 635.3ms | ActiveRecord: 45.4ms) Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) select table_name from information_schema.views where table_schema = 'fe_test'  (26.5ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (26.2ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:13', '2024-06-18 01:13:13')  (3.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:13:13', '2024-06-18 01:13:13')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:13.883347' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.6ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:13:13', '2024-06-18 01:13:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:13', '2024-06-18 01:13:13')  (1.3ms) COMMIT  (8.1ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:13:13', '2024-06-18 01:13:13') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:13', '2024-06-18 01:13:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:13' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (7.3ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (26.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (4.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (8.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (15.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (21.1ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (13.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (48.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (84.2ms) Completed 200 OK in 156ms (Views: 82.7ms | ActiveRecord: 25.7ms)  (2.5ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (40.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:14', '2024-06-18 01:13:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:13:14', '2024-06-18 01:13:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:14.545834' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:13:14', '2024-06-18 01:13:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:14', '2024-06-18 01:13:14')  (1.7ms) COMMIT  (7.9ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (7.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (9.5ms) Completed 500 Internal Server Error in 65ms (ActiveRecord: 3.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (24.8ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:15.071099' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 2', TRUE, '2024-06-18 01:13:15', '2024-06-18 01:13:15') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:15', '2024-06-18 01:13:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:15' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (3.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (11.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (5.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (12.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (27.4ms) Completed 200 OK in 79ms (Views: 27.6ms | ActiveRecord: 17.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:15.629780' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:15', '2024-06-18 01:13:15')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 3', TRUE, '2024-06-18 01:13:15', '2024-06-18 01:13:15', TRUE) Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:13:15', '2024-06-18 01:13:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:15', '2024-06-18 01:13:15') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:15' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:13:15', '2024-06-18 01:13:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:15' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (4.0ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (31.1ms) Completed 200 OK in 70ms (Views: 32.8ms | ActiveRecord: 4.9ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.8ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:16', '2024-06-18 01:13:16')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:13:16', '2024-06-18 01:13:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:16.270282' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:13:16', '2024-06-18 01:13:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:16', '2024-06-18 01:13:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 5', TRUE, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 7', TRUE, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (2.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 8', TRUE, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:13:16', '2024-06-18 01:13:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:16.706811' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:16.767896' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.1ms) Completed 200 OK in 174ms (Views: 2.7ms | ActiveRecord: 71.1ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:17', '2024-06-18 01:13:17')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:13:17', '2024-06-18 01:13:17')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:17.293161' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:13:17', '2024-06-18 01:13:17')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:17', '2024-06-18 01:13:17')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 10', TRUE, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 11', TRUE, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 12', TRUE, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 13', TRUE, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 14', TRUE, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:17' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:13:17', '2024-06-18 01:13:17') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:17' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 99ms (Views: 1.7ms | ActiveRecord: 35.1ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (34.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:18', '2024-06-18 01:13:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (21.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:18.098336' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (14.1ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (6.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:13:18', '2024-06-18 01:13:18') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:18', '2024-06-18 01:13:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (7.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (8.4ms) Completed 500 Internal Server Error in 36ms (ActiveRecord: 7.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:18', '2024-06-18 01:13:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:18.671452' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:18', '2024-06-18 01:13:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:13:18', '2024-06-18 01:13:18') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:18', '2024-06-18 01:13:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.6ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.5ms) Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (9.3ms) Completed 200 OK in 42ms (Views: 9.0ms | ActiveRecord: 9.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (21.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (44.3ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:19.239580' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 17', TRUE, '2024-06-18 01:13:19', '2024-06-18 01:13:19') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:19', '2024-06-18 01:13:19') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:19' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (2.9ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (6.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (8.3ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (20.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (24.3ms) Completed 200 OK in 106ms (Views: 23.9ms | ActiveRecord: 22.6ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (21.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (6.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:19.850672' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:19', '2024-06-18 01:13:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:13:19', '2024-06-18 01:13:19') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:19', '2024-06-18 01:13:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:19' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.8ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:19.965773' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (3.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (4.2ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.2ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (10.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (15.5ms) Completed 200 OK in 107ms (Views: 17.1ms | ActiveRecord: 46.9ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:20', '2024-06-18 01:13:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:13:20', '2024-06-18 01:13:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:20.467611' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:13:20', '2024-06-18 01:13:20')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:20', '2024-06-18 01:13:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 19', TRUE, '2024-06-18 01:13:20', '2024-06-18 01:13:20') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:20', '2024-06-18 01:13:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:13:20', '2024-06-18 01:13:20')  (3.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:20.642804' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:20' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.7ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.2ms) Completed 200 OK in 73ms (Views: 7.9ms | ActiveRecord: 30.2ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:21', '2024-06-18 01:13:21')  (2.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:13:21', '2024-06-18 01:13:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:21.118857' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:13:21', '2024-06-18 01:13:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:13:21', '2024-06-18 01:13:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:21.154468' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 14', 14, '2024-06-18 01:13:21', '2024-06-18 01:13:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:21', '2024-06-18 01:13:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:13:21', '2024-06-18 01:13:21') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:21', '2024-06-18 01:13:21') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:21' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:13:21', '2024-06-18 01:13:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:21' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:21.310032' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:21' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (5.9ms) Completed 200 OK in 75ms (Views: 7.5ms | ActiveRecord: 31.8ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::Application Create (3.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:56', '2024-06-18 01:13:56')  (3.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (2.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:13:56', '2024-06-18 01:13:56')  (3.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:56.257778' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:13:56', '2024-06-18 01:13:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:13:56', '2024-06-18 01:13:56')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:56.296925' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 2', 2, '2024-06-18 01:13:56', '2024-06-18 01:13:56')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:56', '2024-06-18 01:13:56')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (6.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 1', TRUE, '2024-06-18 01:13:56', '2024-06-18 01:13:56') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:56', '2024-06-18 01:13:56') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:56' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:13:57', '2024-06-18 01:13:57') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:57' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.2ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:57.123463' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:57' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (18.5ms) Completed 200 OK in 126ms (Views: 47.5ms | ActiveRecord: 32.5ms) Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (4.0ms) select table_name from information_schema.views where table_schema = 'fe_test'  (24.4ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (21.3ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:58', '2024-06-18 01:13:58')  (4.0ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:58.227855' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (7.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 2', TRUE, '2024-06-18 01:13:58', '2024-06-18 01:13:58') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:58', '2024-06-18 01:13:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:58.339088' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (3.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (2.8ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.1ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.5ms) Completed 200 OK in 119ms (Views: 8.3ms | ActiveRecord: 57.7ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (29.7ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:58.849594' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:58', '2024-06-18 01:13:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 3', TRUE, '2024-06-18 01:13:58', '2024-06-18 01:13:58') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:58', '2024-06-18 01:13:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:13:59', '2024-06-18 01:13:59')  (3.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (4.3ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:13:59.098750' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (4.4ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:59' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (9.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (10.9ms) Completed 200 OK in 108ms (Views: 15.7ms | ActiveRecord: 36.5ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:13:59', '2024-06-18 01:13:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:13:59', '2024-06-18 01:13:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:13:59.613790' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:13:59', '2024-06-18 01:13:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:13:59', '2024-06-18 01:13:59')  (1.7ms) COMMIT  (8.4ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:13:59', '2024-06-18 01:13:59') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.2ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:13:59', '2024-06-18 01:13:59') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:13:59' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (6.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (26.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (11.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (31.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (40.5ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (305.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (359.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (394.8ms) Completed 200 OK in 520ms (Views: 393.2ms | ActiveRecord: 25.6ms)  (2.5ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (27.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:00', '2024-06-18 01:14:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:14:00', '2024-06-18 01:14:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:00.632538' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:14:00', '2024-06-18 01:14:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:00', '2024-06-18 01:14:00')  (1.5ms) COMMIT  (7.8ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (69.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (71.6ms) Completed 500 Internal Server Error in 129ms (ActiveRecord: 3.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (49.5ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:01.252892' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:14:01', '2024-06-18 01:14:01', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 4', TRUE, '2024-06-18 01:14:01', '2024-06-18 01:14:01', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:14:01', '2024-06-18 01:14:01') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:01' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (16.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (36.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (56.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (2.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (17.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (35.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (50.5ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (13.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (110.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (195.8ms) Completed 200 OK in 294ms (Views: 209.8ms | ActiveRecord: 30.9ms) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `fe_addresses`  (21.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.0ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (32.8ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (35.3ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:14:01', '2024-06-18 01:14:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:02.024568' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:14:02', '2024-06-18 01:14:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:02', '2024-06-18 01:14:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 5', TRUE, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 6', TRUE, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 7', TRUE, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 8', TRUE, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 9', TRUE, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:14:02', '2024-06-18 01:14:02') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:14:02.460327' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:14:02.522346' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.3ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.1ms) Completed 200 OK in 180ms (Views: 2.7ms | ActiveRecord: 71.8ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (21.7ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:03.045194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.8ms) COMMIT  (39.3ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 10', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (4.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 11', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 12', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 13', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 14', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:03' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:03' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:03' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 99ms (Views: 1.7ms | ActiveRecord: 34.0ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:03.875471' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:03', '2024-06-18 01:14:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 15', TRUE, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:03', '2024-06-18 01:14:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:03' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (71.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (71.9ms) Completed 500 Internal Server Error in 102ms (ActiveRecord: 7.4ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.2ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (60.3ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (27.3ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:04', '2024-06-18 01:14:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:14:04', '2024-06-18 01:14:04')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:04.534130' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:14:04', '2024-06-18 01:14:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:04', '2024-06-18 01:14:04')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 16', TRUE, '2024-06-18 01:14:04', '2024-06-18 01:14:04') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:04', '2024-06-18 01:14:04') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:04' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.6ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.5ms) Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (9.4ms) Completed 200 OK in 43ms (Views: 9.1ms | ActiveRecord: 10.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (60.2ms) TRUNCATE TABLE `fe_email_templates`  (290.6ms) TRUNCATE TABLE `fe_page_elements`  (42.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (34.2ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:05.408413' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 17', TRUE, '2024-06-18 01:14:05', '2024-06-18 01:14:05') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:05', '2024-06-18 01:14:05') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:05' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.5ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (6.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (8.2ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (20.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (24.7ms) Completed 200 OK in 81ms (Views: 24.2ms | ActiveRecord: 10.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (28.8ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:05.993699' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:14:05', '2024-06-18 01:14:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:06', '2024-06-18 01:14:06')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 18', TRUE, '2024-06-18 01:14:06', '2024-06-18 01:14:06', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 19', TRUE, '2024-06-18 01:14:06', '2024-06-18 01:14:06') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:06', '2024-06-18 01:14:06') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:06' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:14:06', '2024-06-18 01:14:06') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:06' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (6.2ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (4.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (31.6ms) Completed 200 OK in 74ms (Views: 33.7ms | ActiveRecord: 7.5ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (27.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (68.5ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:14:06', '2024-06-18 01:14:06')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:14:06', '2024-06-18 01:14:06')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:14:06.701093' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:14:06', '2024-06-18 01:14:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:14:06', '2024-06-18 01:14:06')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:14:06', '2024-06-18 01:14:06') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:14:06', '2024-06-18 01:14:06') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:14:06' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (3.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (11.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (6.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (14.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (28.6ms) Completed 200 OK in 81ms (Views: 28.6ms | ActiveRecord: 17.9ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (27.0ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.5ms) TRUNCATE TABLE `fe_references`  (24.6ms) TRUNCATE TABLE `fe_users`  (26.0ms) TRUNCATE TABLE `phone_numbers`  (24.2ms) TRUNCATE TABLE `users`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 User Load (6.1ms) SELECT `users`.* FROM `users` LIMIT 11 Person Load (2.9ms) SELECT `fe_people`.* FROM `fe_people` LIMIT 11  (1.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (8.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (37.1ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ActiveRecord::InternalMetadata Load (2.6ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1  (0.6ms) BEGIN ActiveRecord::InternalMetadata Create (1.1ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'test', '2024-06-18 01:34:54', '2024-06-18 01:34:54')  (1.5ms) COMMIT  (1.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC  (0.9ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC  (0.9ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC  (0.8ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'  (0.9ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (287.2ms) DROP DATABASE IF EXISTS `fe_test`  (0.8ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (5.1ms) CREATE DATABASE `fe_test` DEFAULT CHARACTER SET `utf8`  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (20.6ms) DROP TABLE IF EXISTS `fe_addresses` CASCADE  (29.9ms) CREATE TABLE `fe_addresses` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `startdate` datetime, `enddate` datetime, `address1` varchar(255), `address2` varchar(255), `address3` varchar(255), `address4` varchar(255), `address_type` varchar(255), `city` varchar(255), `state` varchar(255), `zip` varchar(255), `country` varchar(255), `person_id` int, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.4ms) DROP TABLE IF EXISTS `fe_answer_sheet_question_sheets` CASCADE  (25.5ms) CREATE TABLE `fe_answer_sheet_question_sheets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `answer_sheet_id` int, `question_sheet_id` int, `created_at` datetime, `updated_at` datetime, INDEX `answer_sheet_question_sheet` USING btree (`answer_sheet_id`, `question_sheet_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_answers` CASCADE  (26.3ms) CREATE TABLE `fe_answers` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `answer_sheet_id` int NOT NULL, `question_id` int NOT NULL, `value` text, `attachment_file_size` int, `attachment_content_type` varchar(255), `attachment_file_name` varchar(255), `attachment_updated_at` datetime, `created_at` datetime, `updated_at` datetime, INDEX `answer_sheet_question` USING btree (`answer_sheet_id`, `question_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.2ms) DROP TABLE IF EXISTS `fe_applications` CASCADE  (26.3ms) CREATE TABLE `fe_applications` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `applicant_id` int, `status` varchar(255), `submitted_at` datetime, `created_at` datetime, `updated_at` datetime, `locale` varchar(255) DEFAULT 'en', INDEX `question_sheet_id` USING btree (`applicant_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.4ms) DROP TABLE IF EXISTS `fe_conditions` CASCADE  (31.7ms) CREATE TABLE `fe_conditions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `question_sheet_id` int NOT NULL, `trigger_id` int NOT NULL, `expression` varchar(255) NOT NULL, `toggle_page_id` int NOT NULL, `toggle_id` int, `created_at` datetime, `updated_at` datetime, INDEX `index_fe_conditions_on_question_sheet_id` USING btree (`question_sheet_id`), INDEX `index_fe_conditions_on_toggle_id` USING btree (`toggle_id`), INDEX `index_fe_conditions_on_toggle_page_id` USING btree (`toggle_page_id`), INDEX `index_fe_conditions_on_trigger_id` USING btree (`trigger_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_elements` CASCADE  (58.1ms) CREATE TABLE `fe_elements` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `question_grid_id` int, `kind` varchar(40) NOT NULL, `style` varchar(40), `label` varchar(255), `content` text, `required` tinyint(1), `slug` varchar(36), `position` int, `object_name` varchar(255), `attribute_name` varchar(255), `source` varchar(255), `value_xpath` varchar(255), `text_xpath` varchar(255), `cols` varchar(255), `is_confidential` tinyint(1) DEFAULT FALSE, `total_cols` varchar(255), `css_id` varchar(255), `css_class` varchar(255), `created_at` datetime, `updated_at` datetime, `related_question_sheet_id` int, `conditional_id` int, `tooltip` text, `hide_label` tinyint(1) DEFAULT FALSE, `hide_option_labels` tinyint(1) DEFAULT FALSE, `max_length` int, `conditional_type` varchar(255), `conditional_answer` text, `choice_field_id` int, `share` tinyint(1) DEFAULT FALSE, `label_translations` text, `tip_translations` text, `content_translations` text, INDEX `index_fe_elements_on_conditional_id` USING btree (`conditional_id`), INDEX `index_fe_elements_on_question_grid_id` USING btree (`question_grid_id`), INDEX `index_fe_elements_on_slug` USING btree (`slug`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_email_templates` CASCADE  (26.1ms) CREATE TABLE `fe_email_templates` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(1000) NOT NULL, `content` text, `enabled` tinyint(1), `subject` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_page_elements` CASCADE  (21.9ms) CREATE TABLE `fe_page_elements` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `page_id` int, `element_id` int, `position` int, `created_at` datetime, `updated_at` datetime, INDEX `page_element` USING btree (`page_id`, `element_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_pages` CASCADE  (21.7ms) CREATE TABLE `fe_pages` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `question_sheet_id` int NOT NULL, `label` varchar(60) NOT NULL, `number` int, `no_cache` tinyint(1) DEFAULT FALSE, `hidden` tinyint(1) DEFAULT FALSE, `created_at` datetime, `updated_at` datetime, `all_element_ids` text, `label_translations` text) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `fe_people` CASCADE  (24.8ms) CREATE TABLE `fe_people` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `first_name` varchar(50), `last_name` varchar(50), `user_id` int, `is_staff` tinyint(1), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.7ms) DROP TABLE IF EXISTS `fe_question_sheets` CASCADE  (27.5ms) CREATE TABLE `fe_question_sheets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `label` varchar(100) NOT NULL, `archived` tinyint(1) DEFAULT FALSE, `created_at` datetime, `updated_at` datetime, `languages` text) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.6ms) DROP TABLE IF EXISTS `fe_references` CASCADE  (36.4ms) CREATE TABLE `fe_references` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `question_id` int, `applicant_answer_sheet_id` int, `email_sent_at` datetime, `relationship` varchar(255), `title` varchar(255), `first_name` varchar(255), `last_name` varchar(255), `phone` varchar(255), `email` varchar(255), `status` varchar(255), `submitted_at` datetime, `started_at` datetime, `access_key` varchar(255), `created_at` datetime, `updated_at` datetime, `locale` varchar(255) DEFAULT 'en', `question_sheet_id` int, `visible` tinyint(1), `visibility_cache_key` varchar(255), INDEX `index_fe_references_on_applicant_answer_sheet_id` USING btree (`applicant_answer_sheet_id`), INDEX `index_fe_references_on_question_id` USING btree (`question_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.4ms) DROP TABLE IF EXISTS `fe_users` CASCADE  (20.1ms) CREATE TABLE `fe_users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` int, `last_login` datetime, `type` varchar(255), `role` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.2ms) DROP TABLE IF EXISTS `phone_numbers` CASCADE  (22.7ms) CREATE TABLE `phone_numbers` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `number` varchar(255), `extensions` varchar(255), `person_id` int, `location` varchar(255), `primary` tinyint(1), `txt_to_email` varchar(255), `carrier_id` int, `email_updated_at` datetime, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `users` CASCADE  (18.1ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `username` varchar(255), `email` varchar(255), `person_id` int) ENGINE=InnoDB DEFAULT CHARSET=utf8  (3.3ms) DROP TABLE IF EXISTS `versions` CASCADE  (23.6ms) CREATE TABLE `versions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `item_type` varchar(191) NOT NULL, `item_id` int NOT NULL, `event` varchar(255) NOT NULL, `whodunnit` varchar(255), `object` longtext, `created_at` datetime, INDEX `index_versions_on_item_type_and_item_id` USING btree (`item_type`, `item_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4  (16.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL PRIMARY KEY)  (3.0ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC  (2.4ms) INSERT INTO `schema_migrations` (version) VALUES (20181108201746)  (6.3ms) INSERT INTO `schema_migrations` (version) VALUES (20141203214017), (20141203214018), (20141203214019), (20141203214020), (20141203214021), (20141203214022), (20141203214023), (20141203214024), (20141203214025), (20141203214027), (20141203214028), (20141203214029), (20141203214030), (20141203214031), (20150123215803), (20150504222619), (20150925192557), (20150930190001), (20150930190002), (20150930190003), (20150930190004), (20150930191756), (20151021190027), (20160204164612), (20160204164613), (20131003041856), (20131003044250), (20131003044436), (20131003044518), (20131003044621), (20131003044714), (20131016162128), (20140623153424), (20140624180246), (20140624182216), (20140625160545), (20140808202507), (20140808203609), (20141103204704), (20141109154522), (20150504221439), (20150713022326), (20150714220730), (20150925181652), (20150928085325), (20150930191538), (20151021181928), (20151021184250), (20160201185838), (20160805221415);   (21.8ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ActiveRecord::InternalMetadata Load (3.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1  (0.5ms) BEGIN ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'test', '2024-06-18 01:34:56', '2024-06-18 01:34:56')  (1.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.9ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.9ms) select table_name from information_schema.views where table_schema = 'fe_test'  (29.4ms) TRUNCATE TABLE `fe_addresses`  (30.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (26.7ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (23.7ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (29.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (33.4ms) TRUNCATE TABLE `fe_conditions`  (40.9ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (25.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (25.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (28.4ms) TRUNCATE TABLE `fe_applications`  (36.4ms) TRUNCATE TABLE `fe_conditions`  (41.6ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (30.8ms) TRUNCATE TABLE `fe_page_elements`  (25.8ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (23.6ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (30.2ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (27.5ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (40.4ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (23.9ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (29.0ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (39.2ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (22.9ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (3.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:15.266290' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:15.301458' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (5.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:15.330304' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:15.360771' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:15.392669' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:36:15', '2024-06-18 01:36:15')  (1.6ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.7ms) BEGIN Fe::ReferenceQuestion Create (6.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 1', TRUE, '2024-06-18 01:36:16', '2024-06-18 01:36:16') Fe::Page Load (4.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:16', '2024-06-18 01:36:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 2', TRUE, '2024-06-18 01:36:16', '2024-06-18 01:36:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:16', '2024-06-18 01:36:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (2.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.9ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:16.488488' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 6) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 6', 6, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:16.512174' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 7) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 7', 7, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:16.535205' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 8) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 8', 8, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:16.558623' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 9', 9, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:16.581772' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 10', 10, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:16', '2024-06-18 01:36:16')  (1.3ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_answers`  (43.5ms) TRUNCATE TABLE `fe_applications`  (37.6ms) TRUNCATE TABLE `fe_conditions`  (49.7ms) TRUNCATE TABLE `fe_elements`  (39.5ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.9ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.102726' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.128713' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.152614' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.177318' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.201704' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 15) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 15', 15, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 3', TRUE, '2024-06-18 01:36:17', '2024-06-18 01:36:17') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:17' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:17', '2024-06-18 01:36:17') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:17' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:17' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 4', TRUE, '2024-06-18 01:36:17', '2024-06-18 01:36:17') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:17' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:17', '2024-06-18 01:36:17') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:17' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:17' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.411088' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 16) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 16', 16, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.434592' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 17) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 17', 17, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.459541' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 18) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 18', 18, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.483634' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 19) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 19', 19, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (2.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.507789' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 20) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 20', 20, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.3ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (22.9ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.958191' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 21) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 21', 21, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:17.984904' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 22) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 22', 22, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.008822' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 23) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 23', 23, '2024-06-18 01:36:17', '2024-06-18 01:36:17')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.032348' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 24) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 24', 24, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.055639' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 25) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 25', 25, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 5', TRUE, '2024-06-18 01:36:18', '2024-06-18 01:36:18') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:18', '2024-06-18 01:36:18') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:18' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 6', TRUE, '2024-06-18 01:36:18', '2024-06-18 01:36:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:18', '2024-06-18 01:36:18') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:18' WHERE `fe_pages`.`id` = 1  (28.3ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:18', '2024-06-18 01:36:18')  (12.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.306367' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 26) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 26', 26, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.330351' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 27) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 27', 27, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.355121' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 28) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 28', 28, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.379429' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 29) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 29', 29, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.403342' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 30) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 30', 30, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (53.8ms) TRUNCATE TABLE `fe_page_elements`  (104.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.969867' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 31) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 31', 31, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:18.995966' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 32) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 32', 32, '2024-06-18 01:36:18', '2024-06-18 01:36:18')  (1.3ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.019776' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 33) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 33', 33, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.046679' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 34) Fe::Page Create (1.5ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 34', 34, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.073893' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 35) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 35', 35, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 7', TRUE, '2024-06-18 01:36:19', '2024-06-18 01:36:19') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (7.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:19' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:19', '2024-06-18 01:36:19') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:19' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:19' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 8', TRUE, '2024-06-18 01:36:19', '2024-06-18 01:36:19') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:19' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:19', '2024-06-18 01:36:19') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:19' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.288971' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 36) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 36', 36, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.313002' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 37) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 37', 37, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.338081' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 38) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 38', 38, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.368281' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 39) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 39', 39, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.393217' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 40) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 40', 40, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.8ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (52.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (41.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (24.2ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (27.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.904615' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 41) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 41', 41, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.932276' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 42) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 42', 42, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.956619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 43) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 43', 43, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:19.980316' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 44) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 44', 44, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.003419' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 45) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 45', 45, '2024-06-18 01:36:19', '2024-06-18 01:36:19')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 9', TRUE, '2024-06-18 01:36:20', '2024-06-18 01:36:20') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:20' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:20', '2024-06-18 01:36:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:20' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:20' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 10', TRUE, '2024-06-18 01:36:20', '2024-06-18 01:36:20') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:20' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:20', '2024-06-18 01:36:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:20' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:20' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.234742' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 46) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 46', 46, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.258914' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 47) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 47', 47, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.282981' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 48) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 48', 48, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.306602' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 49) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 49', 49, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.330090' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 50) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 50', 50, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.8ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (42.8ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (27.6ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.842018' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 51) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 51', 51, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.868226' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 52) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 52', 52, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.892161' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 53) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 53', 53, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.915946' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 54) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 54', 54, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:20.941179' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 55) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 55', 55, '2024-06-18 01:36:20', '2024-06-18 01:36:20')  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::ReferenceQuestion Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 11', TRUE, '2024-06-18 01:36:20', '2024-06-18 01:36:20') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (7.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:20' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:21' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 12', TRUE, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.162160' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 56) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 56', 56, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.187327' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 57) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 57', 57, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.212518' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 58) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 58', 58, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.237531' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 59) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 59', 59, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.261775' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 60) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 60', 60, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.3ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 13', TRUE, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC, id=3 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (43.9ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (27.3ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.852079' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 61) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 61', 61, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.879218' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 62) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 62', 62, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.902717' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 63) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 63', 63, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.926209' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 64) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 64', 64, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:21.951003' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 65) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 65', 65, '2024-06-18 01:36:21', '2024-06-18 01:36:21')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 14', TRUE, '2024-06-18 01:36:21', '2024-06-18 01:36:21') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:21' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:22' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:22' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 15', TRUE, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:22' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:22' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:22' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.161406' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 66) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 66', 66, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.185264' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 67) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 67', 67, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.208504' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 68) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 68', 68, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.231525' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 69) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 69', 69, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.255076' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 70) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 70', 70, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 15', '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.294310' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 71) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 71', 71, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.318346' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 72) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 72', 72, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.342687' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 73) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 73', 73, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.366838' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 74) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 74', 74, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:22.391960' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 75) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 75', 75, '2024-06-18 01:36:22', '2024-06-18 01:36:22')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.7ms) BEGIN Fe::ChoiceField Create (1.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:36:22', '2024-06-18 01:36:22', 3) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (14.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:36:22', '2024-06-18 01:36:22') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:36:23', '2024-06-18 01:36:23', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:23' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:23' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:23' WHERE `fe_pages`.`id` = 11  (12.0ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:23' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:36:23', '2024-06-18 01:36:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:23' WHERE `fe_pages`.`id` = 12  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (2.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.7ms) COMMIT Fe::Answer Load (3.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.8ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (6.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (12.9ms) COMMIT Fe::Page Load (2.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:36:23', '2024-06-18 01:36:23')  (1.6ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.4ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (3.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.8ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.3ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.8ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (37.4ms) TRUNCATE TABLE `fe_conditions`  (46.8ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (27.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 16', '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.428267' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 76) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 76', 76, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.457834' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 77) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 77', 77, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.482797' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 78) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 78', 78, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.507744' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 79) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 79', 79, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.533928' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 80) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 80', 80, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 16', TRUE, '2024-06-18 01:36:24', '2024-06-18 01:36:24') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:24', '2024-06-18 01:36:24') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:24' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 17', TRUE, '2024-06-18 01:36:24', '2024-06-18 01:36:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:24' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:24', '2024-06-18 01:36:24') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:24' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:24' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 17', '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.746815' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 81) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 81', 81, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.771105' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 82) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 82', 82, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.794828' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 83) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 83', 83, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.818530' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 84) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 84', 84, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.843668' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 85) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 85', 85, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 18', '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.883789' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 86) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 86', 86, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.907112' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 87) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 87', 87, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.930107' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 88) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 88', 88, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.953854' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 89) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 89', 89, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:24.977246' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 90) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 90', 90, '2024-06-18 01:36:24', '2024-06-18 01:36:24')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:24', '2024-06-18 01:36:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:25' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:25' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:25' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:25' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:36:25', '2024-06-18 01:36:25') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:25' WHERE `fe_pages`.`id` = 12  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.2ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.7ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:36:25', '2024-06-18 01:36:25')  (1.4ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.5ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.0ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (13,14,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.3ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 19', '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.366505' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 91) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 91', 91, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.392271' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 92) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 92', 92, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.416172' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 93) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 93', 93, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.442571' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 94) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 94', 94, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.467083' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 95) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 95', 95, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 18', TRUE, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:26' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:26' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:26' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 19', TRUE, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:26' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:26' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:26' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 20', '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.676841' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 96) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 96', 96, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.700264' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 97) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 97', 97, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.723562' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 98) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 98', 98, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.747269' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 99) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 99', 99, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.771114' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 100) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 100', 100, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.1ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 21', '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.809678' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 101) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 101', 101, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.834554' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 102) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 102', 102, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.859053' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 103) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 103', 103, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.882445' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 104) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 104', 104, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:26.905965' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 105) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 105', 105, '2024-06-18 01:36:26', '2024-06-18 01:36:26')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:36:26', '2024-06-18 01:36:26', 3) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:36:26', '2024-06-18 01:36:26') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:36:27', '2024-06-18 01:36:27', 11) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:27' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:27' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:27' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.4ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:27' WHERE `fe_pages`.`id` = 11  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:36:27', '2024-06-18 01:36:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:27' WHERE `fe_pages`.`id` = 12  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.4ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.4ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:36:27', '2024-06-18 01:36:27')  (1.6ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.3ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:28', '2024-06-18 01:36:28')  (1.5ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: dd7fecf7-e29c-4d7e-b2d7-ec38d68403db) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.5ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (38.3ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (30.0ms) TRUNCATE TABLE `fe_page_elements`  (150.7ms) TRUNCATE TABLE `fe_pages`  (158.3ms) TRUNCATE TABLE `fe_people`  (140.9ms) TRUNCATE TABLE `fe_question_sheets`  (184.8ms) TRUNCATE TABLE `fe_references`  (135.8ms) TRUNCATE TABLE `fe_users`  (124.3ms) TRUNCATE TABLE `phone_numbers`  (145.2ms) TRUNCATE TABLE `users`  (181.8ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 22', '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (12.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:29.739076' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 106) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 106', 106, '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (22.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:29.787339' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 107) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 107', 107, '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (16.1ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:29.828630' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 108) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 108', 108, '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (11.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:29.865300' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 109) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 109', 109, '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (12.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:29.901711' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 110) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 110', 110, '2024-06-18 01:36:29', '2024-06-18 01:36:29')  (12.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::ReferenceQuestion Create (10.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 20', TRUE, '2024-06-18 01:36:29', '2024-06-18 01:36:29') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:29' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (12.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:29', '2024-06-18 01:36:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:29' WHERE `fe_pages`.`id` = 1  (11.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 21', TRUE, '2024-06-18 01:36:30', '2024-06-18 01:36:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:30' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (23.5ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:30', '2024-06-18 01:36:30') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:30' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:30' WHERE `fe_pages`.`id` = 1  (12.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:30', '2024-06-18 01:36:30')  (11.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (16.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 23', '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (15.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:30.236245' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 111) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 111', 111, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (11.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:30.271086' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 112) Fe::Page Create (1.6ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 112', 112, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (17.0ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:30.316260' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 113) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 113', 113, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (13.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:30.354626' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 114) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 114', 114, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (13.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:30.393748' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 115) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 115', 115, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (14.1ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:36:30', '2024-06-18 01:36:30')  (16.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 22', TRUE, '2024-06-18 01:36:30', '2024-06-18 01:36:30') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (12.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (159.9ms) TRUNCATE TABLE `fe_addresses`  (220.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (151.3ms) TRUNCATE TABLE `fe_answers`  (146.5ms) TRUNCATE TABLE `fe_applications`  (218.9ms) TRUNCATE TABLE `fe_conditions`  (232.8ms) TRUNCATE TABLE `fe_elements`  (148.0ms) TRUNCATE TABLE `fe_email_templates`  (245.7ms) TRUNCATE TABLE `fe_page_elements`  (143.1ms) TRUNCATE TABLE `fe_pages`  (70.6ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (25.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::EmailTemplate Create (2.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Template', '2024-06-18 01:36:32', '2024-06-18 01:36:32')  (3.4ms) COMMIT Processing by Fe::Admin::EmailTemplatesController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` ORDER BY name Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin (9.1ms) Completed 200 OK in 27ms (Views: 21.8ms | ActiveRecord: 1.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.6ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (65.1ms) TRUNCATE TABLE `fe_question_sheets`  (175.6ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (28.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (3.9ms) SELECT COUNT(*) FROM `fe_email_templates` Processing by Fe::Admin::EmailTemplatesController#create as HTML Parameters: {"email_template"=>{"content"=>"Content", "name"=>"Name", "subject"=>"Subject"}}  (0.5ms) BEGIN Fe::EmailTemplate Create (1.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `subject`, `created_at`, `updated_at`) VALUES ('Name', 'Content', 'Subject', '2024-06-18 01:36:33', '2024-06-18 01:36:33')  (6.9ms) COMMIT Redirected to http://test.host/fe/admin/email_templates Completed 302 Found in 15ms (ActiveRecord: 8.6ms)  (2.6ms) SELECT COUNT(*) FROM `fe_email_templates`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (24.5ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1 Processing by Fe::Admin::EmailTemplatesController#new as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin Rendered /Users/andrew/Development/fe/app/views/layouts/fe/_error_messages_for.html.erb (1.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/_form.html.erb (24.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin (35.5ms) Completed 200 OK in 41ms (Views: 37.1ms | ActiveRecord: 0.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (39.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (29.2ms) TRUNCATE TABLE `fe_applications`  (33.8ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (24.1ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (23.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24', '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:34.121070' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 116) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 116', 116, '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.5ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.5ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (4.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (1.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (17.8ms) Completed 200 OK in 74ms (Views: 20.4ms | ActiveRecord: 22.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (39.8ms) TRUNCATE TABLE `fe_addresses`  (27.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (26.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 25', '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:34.709081' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 117) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 117', 117, '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 23', TRUE, TRUE, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:34' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 24', TRUE, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:34' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 25', TRUE, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:36:34', '2024-06-18 01:36:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:34' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:34', '2024-06-18 01:36:34')  (1.4ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (9.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (36.1ms) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (5.1ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.7ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (80.7ms) Completed 200 OK in 116ms (Views: 55.1ms | ActiveRecord: 36.1ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (43.0ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (22.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 26', '2024-06-18 01:36:35', '2024-06-18 01:36:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:35.521684' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 118) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 118', 118, '2024-06-18 01:36:35', '2024-06-18 01:36:35')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 26', TRUE, TRUE, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 27', TRUE, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:35' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 28', TRUE, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:36:35', '2024-06-18 01:36:35') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:35', '2024-06-18 01:36:35')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:35', '2024-06-18 01:36:35')  (1.3ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (5.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (8.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (28.5ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (65.0ms) Completed 200 OK in 98ms (Views: 40.9ms | ActiveRecord: 34.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (34.4ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (23.0ms) TRUNCATE TABLE `users`  (67.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:36', '2024-06-18 01:36:36')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (5.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 27', '2024-06-18 01:36:36', '2024-06-18 01:36:36')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:36.354778' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 119) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 119', 119, '2024-06-18 01:36:36', '2024-06-18 01:36:36')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:36', '2024-06-18 01:36:36')  (6.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (13.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 29', TRUE, '2024-06-18 01:36:36', '2024-06-18 01:36:36') Fe::Page Load (6.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (2.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:36', '2024-06-18 01:36:36') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:36' WHERE `fe_pages`.`id` = 1  (2.8ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:36:36', '2024-06-18 01:36:36') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (10.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:36:36' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'initial@ref.com', 'created', '2024-06-18 01:36:36', '2024-06-18 01:36:36')  (9.0ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answers"=>{"1"=>"answer here"}, "reference"=>{"1"=>{"email"=>"email@reference.com", "first_name"=>"FN", "last_name"=>"LN", "phone"=>"phone", "relationship"=>"roommate", "title"=>"A"}}, "id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:36:36', '2024-06-18 01:36:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 422e0e68-1b32-4f34-b9f6-256eb7025b01) to Test(default) with arguments: #>, [1] Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'efa1dfdf07a79ae3d21ff5c65b0286b2' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'roommate', `title` = 'A', `first_name` = 'FN', `last_name` = 'LN', `phone` = 'phone', `email` = 'email@reference.com', `access_key` = 'efa1dfdf07a79ae3d21ff5c65b0286b2' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Update (1.2ms) UPDATE `fe_applications` SET `locale` = NULL WHERE `fe_applications`.`id` = 1  (1.4ms) COMMIT  (1.3ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (24.9ms) Completed 200 OK in 131ms (Views: 33.2ms | ActiveRecord: 32.5ms) Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 28', '2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:37.201301' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 120) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 120', 120, '2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 30', TRUE, '2024-06-18 01:36:37', '2024-06-18 01:36:37') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:37', '2024-06-18 01:36:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:37' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 29', '2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:37.307525' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 121) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 121, '2024-06-18 01:36:37', '2024-06-18 01:36:37')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 31', TRUE, '2024-06-18 01:36:37', '2024-06-18 01:36:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 01:36:37', '2024-06-18 01:36:37') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (3.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:37' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:36:37', '2024-06-18 01:36:37', 2) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:36:37' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_2', 'fn_2', 'ln_2', 'phone_2', 'initial@ref.com', 'created', '2024-06-18 01:36:37', '2024-06-18 01:36:37', 2) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:36:37' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"ref answer here"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.3ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'ref answer here', '2024-06-18 01:36:37', '2024-06-18 01:36:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 3ba85c5a-9670-4285-8131-c1c137e4f4aa) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.6ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.4ms) Completed 200 OK in 193ms (Views: 2.9ms | ActiveRecord: 21.3ms) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (1.3ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (41.3ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 30', '2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:38.160240' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 122) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 121', 122, '2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 32', TRUE, '2024-06-18 01:36:38', '2024-06-18 01:36:38') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:38', '2024-06-18 01:36:38') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:38' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 31', '2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:38.267041' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 123) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 123, '2024-06-18 01:36:38', '2024-06-18 01:36:38')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 33', TRUE, 'answer_sheet', 'email', '2024-06-18 01:36:38', '2024-06-18 01:36:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 01:36:38', '2024-06-18 01:36:38') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:38' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:36:38', '2024-06-18 01:36:38', 2) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:36:38' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_3', 'fn_3', 'ln_3', 'phone_3', 'initial@ref.com', 'created', '2024-06-18 01:36:38', '2024-06-18 01:36:38', 2) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:36:38' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '5d726592c5d36e92732a87763cc060fe' LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.6ms) UPDATE `fe_references` SET `access_key` = '5d726592c5d36e92732a87763cc060fe', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"a"=>"5d726592c5d36e92732a87763cc060fe", "answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"other@email.com"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'other@email.com' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.0ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 6945334a-f336-4065-9be3-80dc6eeb1cc7) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.7ms) Completed 200 OK in 68ms (Views: 3.0ms | ActiveRecord: 20.9ms) Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (55.4ms) TRUNCATE TABLE `fe_pages`  (133.3ms) TRUNCATE TABLE `fe_people`  (123.1ms) TRUNCATE TABLE `fe_question_sheets`  (187.0ms) TRUNCATE TABLE `fe_references`  (139.3ms) TRUNCATE TABLE `fe_users`  (145.4ms) TRUNCATE TABLE `phone_numbers`  (128.4ms) TRUNCATE TABLE `users`  (144.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Paragraph Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'Lorem ipsum...', '2024-06-18 01:36:39', '2024-06-18 01:36:39') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (2.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (40.8ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (172.1ms) TRUNCATE TABLE `fe_addresses`  (157.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (107.9ms) TRUNCATE TABLE `fe_answers`  (56.4ms) TRUNCATE TABLE `fe_applications`  (57.9ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.7ms) TRUNCATE TABLE `fe_people`  (23.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Paragraph Create (12.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'abc', '2024-06-18 01:36:40', '2024-06-18 01:36:40') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (27.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (36.6ms) TRUNCATE TABLE `fe_conditions`  (37.6ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (26.6ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.7ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 32', '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:42.152114' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 124) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 122', 124, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:42.181875' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 125) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 123', 125, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:42.205619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 126) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 124', 126, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:42.229195' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 127) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 125', 127, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:42.252286' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 128) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 126', 128, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will show the next element if the answer is yes', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:36:42', '2024-06-18 01:36:42', 'Fe::Element', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:36:42', '2024-06-18 01:36:42') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:42' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that is made visible by the previous element', TRUE, '2024-06-18 01:36:42', '2024-06-18 01:36:42') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (2.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:36:42', '2024-06-18 01:36:42') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:42' WHERE `fe_pages`.`id` = 4  (2.0ms) COMMIT Fe::ChoiceField Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.7ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.7ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.4ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.6ms) BEGIN  (0.6ms) COMMIT Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (7.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:36:42', '2024-06-18 01:36:42')  (1.7ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.7ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.8ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.6ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'yes' WHERE `fe_answers`.`id` = 1  (3.3ms) COMMIT Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (25.5ms) TRUNCATE TABLE `fe_page_elements`  (25.2ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (27.0ms) TRUNCATE TABLE `fe_applications`  (35.1ms) TRUNCATE TABLE `fe_conditions`  (39.4ms) TRUNCATE TABLE `fe_elements`  (24.6ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (26.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (25.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (28.8ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (23.7ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (27.9ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_answers`  (33.9ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (25.4ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (23.1ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.7ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (25.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (58.4ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (26.6ms) TRUNCATE TABLE `fe_pages`  (37.6ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (27.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 33', '2024-06-18 01:36:45', '2024-06-18 01:36:45')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:45.283527' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 129) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 127', 129, '2024-06-18 01:36:45', '2024-06-18 01:36:45')  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGridWithTotal Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGridWithTotal', 'grid', 'Label Element 34', TRUE, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.2ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 01:36:45.475136' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 1) Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:45' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 35', TRUE, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 36', TRUE, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 01:36:45.607501' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 2) Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 37', TRUE, '2024-06-18 01:36:45', '2024-06-18 01:36:45') Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.7ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.4ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 34', '2024-06-18 01:36:46', '2024-06-18 01:36:46')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:46.311936' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 130) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 128', 130, '2024-06-18 01:36:46', '2024-06-18 01:36:46')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 38', TRUE, '2024-06-18 01:36:46', '2024-06-18 01:36:46') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:46', '2024-06-18 01:36:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:46' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (38.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 35', '2024-06-18 01:36:46', '2024-06-18 01:36:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:46.857189' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 131) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 129', 131, '2024-06-18 01:36:46', '2024-06-18 01:36:46')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 39', TRUE, '2024-06-18 01:36:46', '2024-06-18 01:36:46') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:46', '2024-06-18 01:36:46') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:46' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 40', TRUE, '2024-06-18 01:36:46', '2024-06-18 01:36:46') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (29.4ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 36', '2024-06-18 01:36:47', '2024-06-18 01:36:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:47.425326' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 132) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 130', 132, '2024-06-18 01:36:47', '2024-06-18 01:36:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 41', TRUE, '2024-06-18 01:36:47', '2024-06-18 01:36:47') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.8ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:47', '2024-06-18 01:36:47') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:47' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 42', TRUE, '2024-06-18 01:36:47', '2024-06-18 01:36:47') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 43', TRUE, '2024-06-18 01:36:47', '2024-06-18 01:36:47') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (45.5ms) TRUNCATE TABLE `fe_answers`  (48.3ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (27.7ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (24.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (24.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 37', '2024-06-18 01:36:48', '2024-06-18 01:36:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:48.087224' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 133) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 131', 133, '2024-06-18 01:36:48', '2024-06-18 01:36:48')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::Section', 'section', 'Label Element 44', TRUE, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:48' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (24.5ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 38', '2024-06-18 01:36:48', '2024-06-18 01:36:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:48.604296' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 134) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 132', 134, '2024-06-18 01:36:48', '2024-06-18 01:36:48')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 45', TRUE, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:48' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 46', TRUE, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 47', TRUE, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:48' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 48', TRUE, '2024-06-18 01:36:48', '2024-06-18 01:36:48') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.8ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (30.4ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (34.1ms) TRUNCATE TABLE `fe_references`  (103.8ms) TRUNCATE TABLE `fe_users`  (137.7ms) TRUNCATE TABLE `phone_numbers`  (131.0ms) TRUNCATE TABLE `users`  (144.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 39', '2024-06-18 01:36:49', '2024-06-18 01:36:49')  (14.1ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:49.739097' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 135) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (1, 'Label Page 133', 135, '2024-06-18 01:36:49', '2024-06-18 01:36:49', '2,1')  (12.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 49', TRUE, '2024-06-18 01:36:49', '2024-06-18 01:36:49') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (13.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 50', TRUE, '2024-06-18 01:36:49', '2024-06-18 01:36:49') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (14.8ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (140.6ms) TRUNCATE TABLE `fe_addresses`  (173.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (398.3ms) TRUNCATE TABLE `fe_answers`  (164.7ms) TRUNCATE TABLE `fe_applications`  (193.2ms) TRUNCATE TABLE `fe_conditions`  (197.4ms) TRUNCATE TABLE `fe_elements`  (129.5ms) TRUNCATE TABLE `fe_email_templates`  (328.3ms) TRUNCATE TABLE `fe_page_elements`  (160.8ms) TRUNCATE TABLE `fe_pages`  (135.7ms) TRUNCATE TABLE `fe_people`  (150.3ms) TRUNCATE TABLE `fe_question_sheets`  (85.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 40', '2024-06-18 01:36:52', '2024-06-18 01:36:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:52.230475' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 136) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 134', 136, '2024-06-18 01:36:52', '2024-06-18 01:36:52')  (1.5ms) COMMIT Fe::Element Load (11.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (40.3ms) TRUNCATE TABLE `fe_elements`  (26.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 41', '2024-06-18 01:36:52', '2024-06-18 01:36:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:52.706958' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 137) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 135', 137, '2024-06-18 01:36:52', '2024-06-18 01:36:52')  (1.6ms) COMMIT Fe::Element Load (11.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Element Load (0.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 42', '2024-06-18 01:36:53', '2024-06-18 01:36:53')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:53.175129' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 138) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 136', 138, '2024-06-18 01:36:53', '2024-06-18 01:36:53')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 51', TRUE, '2024-06-18 01:36:53', '2024-06-18 01:36:53') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 52', TRUE, '2024-06-18 01:36:53', '2024-06-18 01:36:53', 1, 'Fe::Element', 'asdf') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:36:53', '2024-06-18 01:36:53') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:53' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:36:53', '2024-06-18 01:36:53') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:53' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGridWithTotal Create (1.4ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::QuestionGridWithTotal', 'grid', 'Label Element 53', TRUE, '2024-06-18 01:36:53', '2024-06-18 01:36:53') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'short', 'Label Element 54', TRUE, '2024-06-18 01:36:53', '2024-06-18 01:36:53') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (3.2ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:36:53', '2024-06-18 01:36:53')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:36:53', '2024-06-18 01:36:53')  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'asdf', '2024-06-18 01:36:53', '2024-06-18 01:36:53')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'something else' WHERE `fe_answers`.`id` = 1  (3.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (36.2ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 43', '2024-06-18 01:36:54', '2024-06-18 01:36:54')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:54.234864' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 139) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 137', 139, '2024-06-18 01:36:54', '2024-06-18 01:36:54')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 55', TRUE, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:54' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 56', TRUE, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 57', TRUE, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:54' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 58', TRUE, '2024-06-18 01:36:54', '2024-06-18 01:36:54') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (219.2ms) TRUNCATE TABLE `fe_applications`  (355.4ms) TRUNCATE TABLE `fe_conditions`  (215.9ms) TRUNCATE TABLE `fe_elements`  (102.0ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (27.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 44', '2024-06-18 01:36:55', '2024-06-18 01:36:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:55.706703' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 140) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 138', 140, '2024-06-18 01:36:55', '2024-06-18 01:36:55')  (1.5ms) COMMIT Fe::Element Load (11.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.6ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 45', '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:56.178579' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 141) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 139', 141, '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 59', TRUE, '2024-06-18 01:36:56', '2024-06-18 01:36:56') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:36:56', '2024-06-18 01:36:56') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:56' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:36:56.278947' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (2.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:36:56' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 46', '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 47', '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:56.743087' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 142) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 140', 142, '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:56.768311' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 142) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 140', 142, '2024-06-18 01:36:56', '2024-06-18 01:36:56')  (1.5ms) COMMIT Fe::Element Load (11.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.5ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 2  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (27.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (39.3ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 48', '2024-06-18 01:36:57', '2024-06-18 01:36:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:36:57.244567' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 143) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 141', 143, TRUE, '2024-06-18 01:36:57', '2024-06-18 01:36:57')  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (27.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (26.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (37.7ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (38.2ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (49.5ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (74.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_answers`  (26.5ms) TRUNCATE TABLE `fe_applications`  (41.4ms) TRUNCATE TABLE `fe_conditions`  (43.9ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (29.2ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (105.2ms) TRUNCATE TABLE `fe_people`  (36.5ms) TRUNCATE TABLE `fe_question_sheets`  (117.4ms) TRUNCATE TABLE `fe_references`  (53.1ms) TRUNCATE TABLE `fe_users`  (28.0ms) TRUNCATE TABLE `phone_numbers`  (65.1ms) TRUNCATE TABLE `users`  (34.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (24.4ms) TRUNCATE TABLE `fe_email_templates`  (53.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (19.6ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (23.6ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.0ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (29.6ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (34.8ms) TRUNCATE TABLE `fe_conditions`  (66.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (28.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (44.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (24.2ms) TRUNCATE TABLE `fe_people`  (24.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 49', '2024-06-18 01:37:03', '2024-06-18 01:37:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (5.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:03', '2024-06-18 01:37:03')  (45.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 60', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:04', '2024-06-18 01:37:04', 'a; b\n') Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 50', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:04.117997' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 144) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 142', 144, '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 144) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:04.135066' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 144) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:04', '2024-06-18 01:37:04') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:04' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (5.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.4ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (33.8ms) TRUNCATE TABLE `fe_conditions`  (37.6ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (23.5ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 51', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 61', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:04', '2024-06-18 01:37:04', 'a;b') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 52', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:04.730939' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 145) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 143', 145, '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 145) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:04.762108' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 145) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:04', '2024-06-18 01:37:04') Fe::Page Load (2.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:04' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.8ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:37:04', '2024-06-18 01:37:04')  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (28.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (23.6ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.7ms) TRUNCATE TABLE `fe_references`  (26.2ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 53', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 62', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:05', '2024-06-18 01:37:05', 'a;b') Fe::Page Load (7.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 54', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:05.360922' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 146) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 144', 146, '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 146) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:05.377363' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 146) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:05', '2024-06-18 01:37:05') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:05' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (27.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 55', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 63', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:05', '2024-06-18 01:37:05', '') Fe::Page Load (8.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 56', '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:05.956413' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 147) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 145', 147, '2024-06-18 01:37:05', '2024-06-18 01:37:05')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 147) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:05.972779' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 147) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:05', '2024-06-18 01:37:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:06' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (27.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (25.9ms) TRUNCATE TABLE `fe_pages`  (23.9ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (37.6ms) TRUNCATE TABLE `fe_references`  (23.5ms) TRUNCATE TABLE `fe_users`  (28.9ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (56.3ms) TRUNCATE TABLE `fe_addresses`  (50.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_answers`  (26.2ms) TRUNCATE TABLE `fe_applications`  (40.8ms) TRUNCATE TABLE `fe_conditions`  (39.8ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (23.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (39.5ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (24.8ms) TRUNCATE TABLE `fe_pages`  (25.3ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (34.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (10.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 64', TRUE, 'test', '2024-06-18 01:37:08', '2024-06-18 01:37:08') Fe::Page Load (8.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 57', '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.314184' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 148) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 146', 148, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.341039' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 149) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 147', 149, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.370311' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 150) Fe::Page Create (1.4ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 148', 150, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (2.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.402049' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 151) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 149', 151, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.433238' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 152) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 150', 152, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:08', '2024-06-18 01:37:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:08' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 65', TRUE, '2024-06-18 01:37:08', '2024-06-18 01:37:08') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 58', '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.553309' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 153) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 151', 153, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.582100' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 154) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 152', 154, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.610572' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 155) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 153', 155, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.637793' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 156) Fe::Page Create (1.4ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 154', 156, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:08.664251' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 157) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 155', 157, '2024-06-18 01:37:08', '2024-06-18 01:37:08')  (1.7ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:37:08', '2024-06-18 01:37:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:08' WHERE `fe_pages`.`id` = 6  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `slug` = 'test' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (27.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_answers`  (32.9ms) TRUNCATE TABLE `fe_applications`  (37.9ms) TRUNCATE TABLE `fe_conditions`  (43.6ms) TRUNCATE TABLE `fe_elements`  (25.7ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (25.1ms) TRUNCATE TABLE `fe_pages`  (25.7ms) TRUNCATE TABLE `fe_people`  (24.5ms) TRUNCATE TABLE `fe_question_sheets`  (33.9ms) TRUNCATE TABLE `fe_references`  (27.3ms) TRUNCATE TABLE `fe_users`  (29.1ms) TRUNCATE TABLE `phone_numbers`  (23.0ms) TRUNCATE TABLE `users`  (28.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 66', TRUE, 'test', '2024-06-18 01:37:09', '2024-06-18 01:37:09') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 59', '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:09.293495' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 158) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 156', 158, '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:09.320895' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 159) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 157', 159, '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:09.349665' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 160) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 158', 160, '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:09.377206' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 161) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 159', 161, '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:09.403775' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 162) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 160', 162, '2024-06-18 01:37:09', '2024-06-18 01:37:09')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:09', '2024-06-18 01:37:09') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:09' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 67', TRUE, '2024-06-18 01:37:09', '2024-06-18 01:37:09') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:37:09', '2024-06-18 01:37:09') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:09' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1  (0.6ms) ROLLBACK  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (27.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (37.7ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (27.1ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (33.8ms) TRUNCATE TABLE `fe_references`  (23.1ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 68', TRUE, '2024-06-18 01:37:09', '2024-06-18 01:37:09') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 69', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 70', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (6.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (22.5ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 71', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 72', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 73', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (35.2ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (33.1ms) TRUNCATE TABLE `fe_references`  (26.3ms) TRUNCATE TABLE `fe_users`  (31.0ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 74', TRUE, '2024-06-18 01:37:10', '2024-06-18 01:37:10') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 75', TRUE, '2024-06-18 01:37:11', '2024-06-18 01:37:11') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 76', TRUE, '2024-06-18 01:37:11', '2024-06-18 01:37:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (23.6ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (10.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 77', TRUE, '2024-06-18 01:37:11', '2024-06-18 01:37:11') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 78', TRUE, '2024-06-18 01:37:11', '2024-06-18 01:37:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:11', '2024-06-18 01:37:11')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::AttachmentField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::AttachmentField', 'section', 'Label Element 79', TRUE, '2024-06-18 01:37:11', '2024-06-18 01:37:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `attachment_file_name`, `created_at`, `updated_at`) VALUES (1, 3, 'test_file', 'test_file', '2024-06-18 01:37:11', '2024-06-18 01:37:11')  (1.6ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Destroy (1.2ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (23.2ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (24.2ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (23.4ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (29.8ms) TRUNCATE TABLE `fe_page_elements`  (25.5ms) TRUNCATE TABLE `fe_pages`  (24.8ms) TRUNCATE TABLE `fe_people`  (25.6ms) TRUNCATE TABLE `fe_question_sheets`  (33.9ms) TRUNCATE TABLE `fe_references`  (24.8ms) TRUNCATE TABLE `fe_users`  (30.1ms) TRUNCATE TABLE `phone_numbers`  (23.0ms) TRUNCATE TABLE `users`  (26.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (23.6ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (23.3ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:13', '2024-06-18 01:37:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:13', '2024-06-18 01:37:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (6.4ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_4', 'fn_4', 'ln_4', 'phone_4', 'email_1@email.com', 'created', '2024-06-18 01:37:13', '2024-06-18 01:37:13')  (1.5ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (27.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (27.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceSheet Create (6.6ms) INSERT INTO `fe_references` (`relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES ('relationship_5', 'fn_5', 'ln_5', 'phone_5', 'email_2@email.com', 'created', '2024-06-18 01:37:13', '2024-06-18 01:37:13')  (1.6ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (47.0ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (25.8ms) TRUNCATE TABLE `fe_page_elements`  (23.9ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (23.5ms) TRUNCATE TABLE `fe_users`  (25.3ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (26.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:14', '2024-06-18 01:37:14', 1) Fe::Page Load (10.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:14' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:14', '2024-06-18 01:37:14')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 1, 'relationship_6', 'fn_6', 'ln_6', 'phone_6', 'email_3@email.com', 'created', '2024-06-18 01:37:14', '2024-06-18 01:37:14', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:14' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.6ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Person Create (4.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:14', '2024-06-18 01:37:14')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:14', '2024-06-18 01:37:14')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (6.1ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_7', 'fn_7', 'ln_7', 'phone_7', 'email_4@email.com', 'created', '2024-06-18 01:37:14', '2024-06-18 01:37:14')  (1.5ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (23.3ms) TRUNCATE TABLE `fe_question_sheets`  (34.2ms) TRUNCATE TABLE `fe_references`  (25.3ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 60', '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 61', '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.9ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:15.400223' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 163) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 161', 163, '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 163) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:15.418796' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 163) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 80', TRUE, '2024-06-18 01:37:15', '2024-06-18 01:37:15') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:15', '2024-06-18 01:37:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:15' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:37:15', '2024-06-18 01:37:15', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:15' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:37:15', 'relationship_8', 'fn_8', 'ln_8', 'phone_8', 'email_5@email.com', 'started', '2024-06-18 01:37:15', '2024-06-18 01:37:15', 1) Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:15' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:37:15', '2024-06-18 01:37:15')  (1.3ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (2.6ms) SELECT COUNT(*) FROM `fe_answers`  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (40.3ms) TRUNCATE TABLE `fe_email_templates`  (27.1ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (24.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 62', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 63', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:16.115816' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 164) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 162', 164, '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 164) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:16.135419' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 164) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 81', TRUE, '2024-06-18 01:37:16', '2024-06-18 01:37:16') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:16', '2024-06-18 01:37:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:37:16', '2024-06-18 01:37:16', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:37:16', 'relationship_9', 'fn_9', 'ln_9', 'phone_9', 'email_6@email.com', 'started', '2024-06-18 01:37:16', '2024-06-18 01:37:16', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:16' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.5ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'created' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.1ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '49a05c65ee56ce46d8a1e1282fc27b2b' LIMIT 1 Fe::ReferenceSheet Update (1.5ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `access_key` = '49a05c65ee56ce46d8a1e1282fc27b2b', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (2.8ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (32.3ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (27.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 64', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 65', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:16.811660' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 165) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 163', 165, '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 165) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:16.830453' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 165) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 82', TRUE, '2024-06-18 01:37:16', '2024-06-18 01:37:16') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:16', '2024-06-18 01:37:16') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:37:16', '2024-06-18 01:37:16', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:16', '2024-06-18 01:37:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:37:16', 'relationship_10', 'fn_10', 'ln_10', 'phone_10', 'email_7@email.com', 'started', '2024-06-18 01:37:16', '2024-06-18 01:37:16', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (6.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:16' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:17', '2024-06-18 01:37:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:37:17', '2024-06-18 01:37:17')  (2.2ms) COMMIT Fe::ReferenceSheet Update (0.9ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.0ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '5cc8d93dc8efcf9fc2a0eb1588442ba4' LIMIT 1 Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = '5cc8d93dc8efcf9fc2a0eb1588442ba4', `updated_at` = '2024-06-18 01:37:17', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (3.2ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (75.7ms) TRUNCATE TABLE `fe_email_templates`  (177.7ms) TRUNCATE TABLE `fe_page_elements`  (143.3ms) TRUNCATE TABLE `fe_pages`  (190.0ms) TRUNCATE TABLE `fe_people`  (131.3ms) TRUNCATE TABLE `fe_question_sheets`  (187.5ms) TRUNCATE TABLE `fe_references`  (824.6ms) TRUNCATE TABLE `fe_users`  (155.5ms) TRUNCATE TABLE `phone_numbers`  (149.7ms) TRUNCATE TABLE `users`  (156.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (7.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 66', '2024-06-18 01:37:19', '2024-06-18 01:37:19')  (17.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 67', '2024-06-18 01:37:19', '2024-06-18 01:37:19')  (14.3ms) COMMIT  (0.9ms) BEGIN Fe::Page Update All (4.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:19.516252' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 166) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 164', 166, '2024-06-18 01:37:19', '2024-06-18 01:37:19')  (21.9ms) COMMIT  (0.9ms) BEGIN Fe::Page Load (2.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 166) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (2.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:19.565605' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 166) Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (15.9ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.7ms) BEGIN Fe::TextField Create (20.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 83', TRUE, '2024-06-18 01:37:19', '2024-06-18 01:37:19') Fe::Page Load (9.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (8.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (12.6ms) COMMIT  (0.8ms) BEGIN Fe::PageElement Load (2.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.4ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:19', '2024-06-18 01:37:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:19' WHERE `fe_pages`.`id` = 1  (12.4ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:37:19', '2024-06-18 01:37:19', 1) Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (8.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:19' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (42.6ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (5.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:19', '2024-06-18 01:37:19')  (44.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:19', '2024-06-18 01:37:19')  (32.7ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceSheet Create (2.5ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:37:19', 'relationship_11', 'fn_11', 'ln_11', 'phone_11', 'email_8@email.com', 'started', '2024-06-18 01:37:19', '2024-06-18 01:37:19', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (5.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:19' WHERE `fe_references`.`id` = 1  (15.6ms) COMMIT  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:20', '2024-06-18 01:37:20')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::EmailTemplate Create (5.8ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:37:20', '2024-06-18 01:37:20')  (15.3ms) COMMIT Fe::ReferenceSheet Update (1.9ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.4ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.2ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'dbd199440b86a4a2e17676e6837d9e1c' LIMIT 1 Fe::ReferenceSheet Update (2.0ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = 'dbd199440b86a4a2e17676e6837d9e1c', `updated_at` = '2024-06-18 01:37:20', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (44.4ms) COMMIT  (4.1ms) SELECT COUNT(*) FROM `fe_answers`  (1.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (146.3ms) TRUNCATE TABLE `fe_addresses`  (156.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (177.5ms) TRUNCATE TABLE `fe_answers`  (156.5ms) TRUNCATE TABLE `fe_applications`  (330.9ms) TRUNCATE TABLE `fe_conditions`  (202.9ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (173.5ms) TRUNCATE TABLE `fe_pages`  (216.1ms) TRUNCATE TABLE `fe_people`  (187.9ms) TRUNCATE TABLE `fe_question_sheets`  (318.9ms) TRUNCATE TABLE `fe_references`  (135.0ms) TRUNCATE TABLE `fe_users`  (148.4ms) TRUNCATE TABLE `phone_numbers`  (131.9ms) TRUNCATE TABLE `users`  (149.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 68', '2024-06-18 01:37:22', '2024-06-18 01:37:22')  (15.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 69', '2024-06-18 01:37:22', '2024-06-18 01:37:22')  (15.9ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:22.894221' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 167) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 165', 167, '2024-06-18 01:37:22', '2024-06-18 01:37:22')  (12.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 167) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:22.925475' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 167) Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (12.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::TextField Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 84', TRUE, '2024-06-18 01:37:22', '2024-06-18 01:37:22') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (12.9ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:22', '2024-06-18 01:37:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (2.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:23' WHERE `fe_pages`.`id` = 1  (11.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:37:23', '2024-06-18 01:37:23', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:37:23' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (11.9ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.4ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:23', '2024-06-18 01:37:23')  (12.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (5.5ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:23', '2024-06-18 01:37:23')  (40.0ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceSheet Create (1.3ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:37:23', 'relationship_12', 'fn_12', 'ln_12', 'phone_12', 'email_9@email.com', 'started', '2024-06-18 01:37:23', '2024-06-18 01:37:23', 1) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (2.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:23' WHERE `fe_references`.`id` = 1  (40.8ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (1.8ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:23', '2024-06-18 01:37:23')  (33.3ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:37:23', '2024-06-18 01:37:23')  (41.0ms) COMMIT Fe::ReferenceSheet Update (16.8ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.6ms) BEGIN Fe::ReferenceSheet Update (1.5ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (11.9ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:37:23', '2024-06-18 01:37:23')  (15.2ms) COMMIT Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (146.9ms) TRUNCATE TABLE `fe_addresses`  (150.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (193.7ms) TRUNCATE TABLE `fe_answers`  (90.5ms) TRUNCATE TABLE `fe_applications`  (117.2ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (36.7ms) TRUNCATE TABLE `fe_page_elements`  (24.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (23.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 85', TRUE, '2024-06-18 01:37:24', '2024-06-18 01:37:24') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:24', '2024-06-18 01:37:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:24', '2024-06-18 01:37:24')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_13', 'fn_13', 'ln_13', 'phone_13', 'email_10@email.com', 'created', '2024-06-18 01:37:24', '2024-06-18 01:37:24') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:24' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 86', TRUE, '2024-06-18 01:37:24', '2024-06-18 01:37:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (26.9ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 87', TRUE, '2024-06-18 01:37:24', '2024-06-18 01:37:24') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_14', 'fn_14', 'ln_14', 'phone_14', 'email_11@email.com', 'created', '2024-06-18 01:37:25', '2024-06-18 01:37:25') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:25' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 88', TRUE, '2024-06-18 01:37:25', '2024-06-18 01:37:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'some text response', '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (66.8ms) TRUNCATE TABLE `fe_users`  (123.9ms) TRUNCATE TABLE `phone_numbers`  (128.4ms) TRUNCATE TABLE `users`  (111.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 70', '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:25.900571' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 168) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 166', 168, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:25.926692' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 169) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 167', 169, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:25.951156' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 170) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 168', 170, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:25.975301' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 171) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 169', 171, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:25.998933' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 172) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 170', 172, '2024-06-18 01:37:25', '2024-06-18 01:37:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:26', '2024-06-18 01:37:26', 'Fe::Element', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:26' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:26' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:26' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:26' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_15', 'fn_15', 'ln_15', 'phone_15', 'email_12@email.com', 'created', '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (5.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:26' WHERE `fe_references`.`id` = 1  (3.2ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (35.9ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (26.4ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 71', '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:26.795473' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 173) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 171', 173, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:26.821397' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 174) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 172', 174, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:26.845748' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 175) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 173', 175, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:26.870151' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 176) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 174', 176, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:26.894390' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 177) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 175', 177, '2024-06-18 01:37:26', '2024-06-18 01:37:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:26', '2024-06-18 01:37:26', 'Fe::Element', 'yes') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:26' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:26', '2024-06-18 01:37:26') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (12.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:27' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:27', '2024-06-18 01:37:27') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:27' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:27' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:27', '2024-06-18 01:37:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:27', '2024-06-18 01:37:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_16', 'fn_16', 'ln_16', 'phone_16', 'email_13@email.com', 'created', '2024-06-18 01:37:27', '2024-06-18 01:37:27') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:27' WHERE `fe_references`.`id` = 1  (3.3ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:37:27', '2024-06-18 01:37:27')  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (2.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (2.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (2.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (135.7ms) TRUNCATE TABLE `fe_addresses`  (163.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (204.0ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (33.4ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 72', '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:28.116026' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 178) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 176', 178, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:28.142748' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 179) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 177', 179, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:28.166781' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 180) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 178', 180, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:28.190526' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 181) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 179', 181, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:28.214475' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 182) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 180', 182, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:28', '2024-06-18 01:37:28') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:28', '2024-06-18 01:37:28') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:28' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:28', '2024-06-18 01:37:28', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:28' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:28', '2024-06-18 01:37:28') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:28' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:28' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_17', 'fn_17', 'ln_17', 'phone_17', 'email_14@email.com', 'created', '2024-06-18 01:37:28', '2024-06-18 01:37:28') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:37:28' WHERE `fe_references`.`id` = 1  (12.3ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:37:28', '2024-06-18 01:37:28')  (13.1ms) COMMIT Fe::Page Load (3.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (2.2ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (140.7ms) TRUNCATE TABLE `fe_addresses`  (97.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (24.9ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (22.5ms) TRUNCATE TABLE `users`  (28.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 73', '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:29.267454' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 183) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 181', 183, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:29.294001' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 184) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 182', 184, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:29.317812' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 185) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 183', 185, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:29.342678' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 186) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 184', 186, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:29.368986' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 187) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 185', 187, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:29', '2024-06-18 01:37:29') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:29', '2024-06-18 01:37:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:29' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:29', '2024-06-18 01:37:29', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:29' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:29', '2024-06-18 01:37:29') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:29' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:29' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 3, '2024-06-18 01:37:29', '2024-06-18 01:37:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (3.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:29' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_18', 'fn_18', 'ln_18', 'phone_18', 'email_15@email.com', 'created', '2024-06-18 01:37:29', '2024-06-18 01:37:29') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:37:29' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:37:29', '2024-06-18 01:37:29')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (37.5ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 74', '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.247410' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 188) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 186', 188, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.273920' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 189) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 187', 189, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.297578' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 190) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 188', 190, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.321313' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 191) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 189', 191, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.358122' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 192) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 190', 192, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 89', TRUE, '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:30', '2024-06-18 01:37:30', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:30' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 90', TRUE, '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:30' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:30' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:30' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 75', '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.654817' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 193) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 191', 193, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.678450' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 194) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 192', 194, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.702685' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 195) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 193', 195, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.727292' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 196) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 194', 196, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:30.750793' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 197) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 195', 197, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (15.1ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.3ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:37:30', '2024-06-18 01:37:30')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_19', 'fn_19', 'ln_19', 'phone_19', 'email_16@email.com', 'created', '2024-06-18 01:37:30', '2024-06-18 01:37:30') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.5ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618013730000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:30' WHERE `fe_references`.`id` = 1  (2.1ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Answer Load (1.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'yes', `updated_at` = '2024-06-18 01:37:31' WHERE `fe_answers`.`id` = 1  (12.1ms) COMMIT Fe::Page Load (2.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (66.0ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (45.3ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (24.8ms) TRUNCATE TABLE `fe_pages`  (68.0ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 76', '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.498771' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 198) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 196', 198, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.524641' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 199) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 197', 199, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.548309' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 200) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 198', 200, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.572075' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 201) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 199', 201, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.596598' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 202) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 200', 202, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (47.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 91', TRUE, '2024-06-18 01:37:32', '2024-06-18 01:37:32') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:32' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:32', '2024-06-18 01:37:32', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:37:32', '2024-06-18 01:37:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:37:32', '2024-06-18 01:37:32') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:32' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:32' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 92', TRUE, '2024-06-18 01:37:32', '2024-06-18 01:37:32') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:32' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:32', '2024-06-18 01:37:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:32' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:32' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 77', '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.939846' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 203) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 201', 203, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.963322' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 204) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 202', 204, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:32.986590' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 205) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 203', 205, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:33.010281' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 206) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 204', 206, '2024-06-18 01:37:32', '2024-06-18 01:37:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:33.034127' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 207) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 205', 207, '2024-06-18 01:37:33', '2024-06-18 01:37:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:37:33', '2024-06-18 01:37:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_20', 'fn_20', 'ln_20', 'phone_20', 'email_17@email.com', 'created', '2024-06-18 01:37:33', '2024-06-18 01:37:33') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.3ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:33' WHERE `fe_references`.`id` = 1  (3.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Update (0.9ms) UPDATE `fe_references` SET `visible` = FALSE WHERE `fe_references`.`id` = 1  (0.5ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:37:33', '2024-06-18 01:37:33')  (1.7ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618013733000000', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:37:33' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (289.4ms) TRUNCATE TABLE `fe_elements`  (137.0ms) TRUNCATE TABLE `fe_email_templates`  (155.5ms) TRUNCATE TABLE `fe_page_elements`  (87.0ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (22.6ms) TRUNCATE TABLE `fe_question_sheets`  (35.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (58.2ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (29.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 78', '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (4.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.277074' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 208) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 206', 208, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.305536' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 209) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 207', 209, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.330179' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 210) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 208', 210, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.356774' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 211) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 209', 211, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.381786' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 212) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 210', 212, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 93', TRUE, '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:34' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:34', '2024-06-18 01:37:34', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:34' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 94', TRUE, '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:34' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:34' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 79', '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.693113' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 213) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 211', 213, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.716089' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 214) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 212', 214, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.738594' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 215) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 213', 215, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.761327' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 216) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 214', 216, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:34.784496' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 217) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 215', 217, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.3ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:37:34', '2024-06-18 01:37:34')  (1.3ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_21', 'fn_21', 'ln_21', 'phone_21', 'email_18@email.com', 'created', '2024-06-18 01:37:34', '2024-06-18 01:37:34') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618013734000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:34' WHERE `fe_references`.`id` = 1  (4.3ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 80', '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.372841' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 218) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 216', 218, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.398660' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 219) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 217', 219, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.421643' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 220) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 218', 220, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.444422' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 221) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 219', 221, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.467272' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 222) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 220', 222, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 95', TRUE, '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:35' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:35', '2024-06-18 01:37:35', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.2ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:35' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:35' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:35' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 96', TRUE, '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:35' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:35' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:35' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 81', '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.753325' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 223) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 221', 223, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.776895' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 224) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 222', 224, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.799582' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 225) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 223', 225, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.822213' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 226) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 224', 226, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:35.845937' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 227) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 225', 227, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_22', 'fn_22', 'ln_22', 'phone_22', 'email_19@email.com', 'created', '2024-06-18 01:37:35', '2024-06-18 01:37:35') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:35' WHERE `fe_references`.`id` = 1  (3.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `visible` = FALSE, `visibility_cache_key` = 'something' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:37:35', '2024-06-18 01:37:35')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618013735000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:36' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (25.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (28.7ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 82', '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:36.477949' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 228) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 226', 228, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (3.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:36.506596' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 229) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 227', 229, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (22.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:36.552486' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 230) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 228', 230, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:36.577114' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 231) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 229', 231, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (2.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:36.601730' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 232) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 230', 232, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:36', '2024-06-18 01:37:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:36', '2024-06-18 01:37:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', FALSE, '2024-06-18 01:37:36', '2024-06-18 01:37:36') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:36' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_23', 'fn_23', 'ln_23', 'phone_23', 'email_20@email.com', 'created', '2024-06-18 01:37:36', '2024-06-18 01:37:36') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:37:36' WHERE `fe_references`.`id` = 1  (1.9ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 83', '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.162812' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 233) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 231', 233, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.190422' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 234) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 232', 234, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.213996' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 235) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 233', 235, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.236838' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 236) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 234', 236, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.259284' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 237) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 235', 237, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:37', '2024-06-18 01:37:37') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:37' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:37', '2024-06-18 01:37:37') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:37' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_24', 'fn_24', 'ln_24', 'phone_24', 'email_21@email.com', 'created', '2024-06-18 01:37:37', '2024-06-18 01:37:37') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:37:37' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (27.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 84', '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.891575' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 238) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 236', 238, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.916814' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 239) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 237', 239, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (2.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.940870' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 240) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 238', 240, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.964319' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 241) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 239', 241, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:37.987010' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 242) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 240', 242, '2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:37', '2024-06-18 01:37:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:38', '2024-06-18 01:37:38')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:37:38', '2024-06-18 01:37:38') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:38' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:38', '2024-06-18 01:37:38') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:38' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:38' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_25', 'fn_25', 'ln_25', 'phone_25', 'email_22@email.com', 'created', '2024-06-18 01:37:38', '2024-06-18 01:37:38') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:37:38' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1 Fe::ReferenceSheet Exists (6.5ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '1d65bc0cd1db276815291e342c6ba64c' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '6314b606d7a06c0e0d7f6283aac74d42' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'c68959fe7c1d7ca293ffdc0b0c2c5c16' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'dccd02dc78d10cbcf53473883af7bf12' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '083abae77ef214eff6219bf5fe9d6fab' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'e896e3292429f772f46be496fe2e39f7' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'fdbe7e35913ba5fce063ddb40b913680' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a6efdebb41a6d45e3d1c119cadfcf48d' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '59b14808891b0b1f2f19e7373c4a8971' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '7c18f543e6e672c591bb4aab2d95756e' LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (28.5ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (35.6ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (27.5ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (25.1ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (25.2ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 85', '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:40.708219' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 243) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 241', 243, '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:40.734248' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 244) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 242', 244, '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:40.757076' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 245) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 243', 245, '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:40.779649' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 246) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 244', 246, '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:40.802841' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 247) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 245', 247, '2024-06-18 01:37:40', '2024-06-18 01:37:40')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:40', '2024-06-18 01:37:40', 'Fe::Element') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:40', '2024-06-18 01:37:40') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:40' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved', TRUE, '2024-06-18 01:37:40', '2024-06-18 01:37:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:40', '2024-06-18 01:37:40') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:40' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved to become hidden', TRUE, '2024-06-18 01:37:40', '2024-06-18 01:37:40') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 3, 3, '2024-06-18 01:37:40', '2024-06-18 01:37:40') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:40' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 01:37:41' WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:37:41.063199' WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:41' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 1  (1.6ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 86', '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:41.579383' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 248) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 246', 248, '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:41.605150' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 249) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 247', 249, '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:41.629082' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 250) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 248', 250, '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:41.652140' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 251) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 249', 251, '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:41.675101' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 252) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 250', 252, '2024-06-18 01:37:41', '2024-06-18 01:37:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:41', '2024-06-18 01:37:41', 'Fe::Element') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:41', '2024-06-18 01:37:41') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:41' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:37:41', '2024-06-18 01:37:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:41', '2024-06-18 01:37:41') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:41' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (30.3ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (24.5ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (26.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 87', '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:43.106098' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 253) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 251', 253, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:43.132626' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 254) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 252', 254, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:43.156516' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 255) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 253', 255, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:43.179749' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 256) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 254', 256, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:43.203799' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 257) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 255', 257, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the enclosed element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:43', '2024-06-18 01:37:43', 'Fe::Element') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:43', '2024-06-18 01:37:43') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:43' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the enclosing element', TRUE, '2024-06-18 01:37:43', '2024-06-18 01:37:43', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:37:43', '2024-06-18 01:37:43') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (0.9ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:43' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.6ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:37:43', '2024-06-18 01:37:43')  (1.2ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (45.7ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (39.2ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (27.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 88', '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (2.3ms) COMMIT  (1.0ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:44.367272' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 258) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 256', 258, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:44.393067' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 259) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 257', 259, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:44.416371' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 260) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 258', 260, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:44.439975' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 261) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 259', 261, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:44.463776' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 262) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 260', 262, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:44', '2024-06-18 01:37:44', 5, 'Fe::Page', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:44', '2024-06-18 01:37:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:44' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 01:37:44', '2024-06-18 01:37:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 01:37:44', '2024-06-18 01:37:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:44' WHERE `fe_pages`.`id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (1.5ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.2ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.4ms) BEGIN  (0.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:37:44', '2024-06-18 01:37:44')  (3.8ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (25.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (50.1ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (29.0ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (34.2ms) TRUNCATE TABLE `fe_references`  (23.5ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 89', '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:46.062334' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 263) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 261', 263, '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:46.088233' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 264) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 262', 264, '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:46.111617' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 265) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 263', 265, '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:46.135193' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 266) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 264', 266, '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:46.158304' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 267) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 265', 267, '2024-06-18 01:37:46', '2024-06-18 01:37:46')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:46', '2024-06-18 01:37:46', 5, 'Fe::Page') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:46', '2024-06-18 01:37:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:46' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (28.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (19.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.7ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 90', '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.515194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 268) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 266', 268, '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.540575' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 269) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 267', 269, '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.563547' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 270) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 268', 270, '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.586379' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 271) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 269', 271, '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.609492' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 272) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 270', 272, '2024-06-18 01:37:47', '2024-06-18 01:37:47')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:47', '2024-06-18 01:37:47', 5, 'Fe::Page') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:47', '2024-06-18 01:37:47') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:47' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 1  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1)  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 2 WHERE `fe_pages`.`id` = 2  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 2)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 3 WHERE `fe_pages`.`id` = 3  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 3)  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 4  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1) Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.750258' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 4) AND (`fe_pages`.`number` >= 1) AND (`fe_pages`.`number` < 271)  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 4 WHERE `fe_pages`.`id` = 5  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 4) Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:47.775771' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 5) AND (`fe_pages`.`number` >= 4) AND (`fe_pages`.`number` < 272)  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 91', '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (2.1ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:48.221564' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 273) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 271', 273, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:48.247220' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 274) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 272', 274, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:48.270520' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 275) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 273', 275, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:48.293046' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 276) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 274', 276, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:48.315611' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 277) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 275', 277, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL1', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:48', '2024-06-18 01:37:48') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:48', '2024-06-18 01:37:48') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:48' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL2', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:48', '2024-06-18 01:37:48', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'LVL3 (GRID)', TRUE, '2024-06-18 01:37:48', '2024-06-18 01:37:48', 2) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::ChoiceField', 'yes-no', 'LVL4', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:48', '2024-06-18 01:37:48') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (2.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'EL (LVL5)', TRUE, '2024-06-18 01:37:48', '2024-06-18 01:37:48', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.5ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.4ms) BEGIN  (0.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'yes', '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 4, 'yes', '2024-06-18 01:37:48', '2024-06-18 01:37:48')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 2  (1.6ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.2ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (36.6ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (28.6ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 92', '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:49.417241' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 278) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 276', 278, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:49.443281' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 279) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 277', 279, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:49.466462' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 280) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 278', 280, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:49.489711' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 281) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 279', 281, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:49.513223' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 282) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 280', 282, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:49', '2024-06-18 01:37:49', 5, 'Fe::Page', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:49', '2024-06-18 01:37:49') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:49' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 01:37:49', '2024-06-18 01:37:49') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 01:37:49', '2024-06-18 01:37:49') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:49' WHERE `fe_pages`.`id` = 5  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.7ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.4ms) COMMIT Fe::Application Load (0.8ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:37:49', '2024-06-18 01:37:49')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 1  (1.9ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (27.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (21.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (27.9ms) TRUNCATE TABLE `fe_page_elements`  (24.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 97', TRUE, '2024-06-18 01:37:50', '2024-06-18 01:37:50') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 98', TRUE, '2024-06-18 01:37:50', '2024-06-18 01:37:50', 'test') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 99', TRUE, '2024-06-18 01:37:50', '2024-06-18 01:37:50') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3, `conditional_type` = 'Fe::Element' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 93', '2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:50.790480' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 283) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 281', 283, '2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:50', '2024-06-18 01:37:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:50' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:37:50', '2024-06-18 01:37:50') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:50' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:50', '2024-06-18 01:37:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:50' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.6ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.0ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.4ms) BEGIN  (0.4ms) COMMIT Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'nomatch', '2024-06-18 01:37:50', '2024-06-18 01:37:50')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.6ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 100', TRUE, '2024-06-18 01:37:51', '2024-06-18 01:37:51', '---\nfr: \'\'\n', '---\nfr: \'\'\n', '---\nfr: \'\'\n') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.8ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (32.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 101', TRUE, '2024-06-18 01:37:51', '2024-06-18 01:37:51', '---\nfr: fr label\n', '---\nfr: fr tip\n', '---\nfr: fr content\n') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ChoiceField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `content_translations`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 102', '1\r\n2', TRUE, '2024-06-18 01:37:52', '2024-06-18 01:37:52', '---\nfr: \'\'\n') Fe::Page Load (8.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 103', TRUE, TRUE, '2024-06-18 01:37:52', '2024-06-18 01:37:52', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:52', '2024-06-18 01:37:52')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (26.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (25.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 104', TRUE, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::Page Load (8.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 94', '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:53.254835' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 284) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 282', 284, '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 95', '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:53.284881' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 285) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 283', 285, '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:53' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:53' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.8ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 96', '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:53.847391' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 286) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 284', 286, '2024-06-18 01:37:53', '2024-06-18 01:37:53')  (2.1ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 105', TRUE, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:53' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 106', TRUE, '2024-06-18 01:37:53', '2024-06-18 01:37:53') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (2.4ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (26.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (32.7ms) TRUNCATE TABLE `fe_references`  (40.1ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 97', '2024-06-18 01:37:54', '2024-06-18 01:37:54')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:54.471646' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 287) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 285', 287, '2024-06-18 01:37:54', '2024-06-18 01:37:54')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 107', TRUE, '2024-06-18 01:37:54', '2024-06-18 01:37:54') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:54', '2024-06-18 01:37:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:54' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 108', TRUE, '2024-06-18 01:37:54', '2024-06-18 01:37:54') Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 109', TRUE, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 110', TRUE, 0, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 111', TRUE, 1, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 98', '2024-06-18 01:37:55', '2024-06-18 01:37:55')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:55.153564' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 288) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 286', 288, '2024-06-18 01:37:55', '2024-06-18 01:37:55')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:55' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (1.1ms) SELECT MAX(`fe_elements`.`position`) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 111', TRUE, 2, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 112', TRUE, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 113', TRUE, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 114', TRUE, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 99', '2024-06-18 01:37:55', '2024-06-18 01:37:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:55.775232' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 289) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 287', 289, '2024-06-18 01:37:55', '2024-06-18 01:37:55')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:55' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:55' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:55' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 114', TRUE, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:37:55', '2024-06-18 01:37:55') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:55' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (26.1ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (22.5ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 115', TRUE, '2024-06-18 01:37:56', '2024-06-18 01:37:56') Fe::Page Load (8.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (25.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (18.8ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `css_class`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 116', TRUE, 'a 1 2', '2024-06-18 01:37:56', '2024-06-18 01:37:56') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (35.4ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:37:57', '2024-06-18 01:37:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:37:57', '2024-06-18 01:37:57')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 117', TRUE, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 118', TRUE, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 119', TRUE, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 100', '2024-06-18 01:37:57', '2024-06-18 01:37:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:57.400542' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 290) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 288', 290, '2024-06-18 01:37:57', '2024-06-18 01:37:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:57' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:57' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:37:57', '2024-06-18 01:37:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:57' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (28.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 120', TRUE, TRUE, '2024-06-18 01:37:57', '2024-06-18 01:37:57', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (22.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 121', TRUE, TRUE, '2024-06-18 01:37:58', '2024-06-18 01:37:58', TRUE) Fe::Page Load (7.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (27.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (11.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 122', TRUE, TRUE, '2024-06-18 01:37:58', '2024-06-18 01:37:58', TRUE) Fe::Page Load (9.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (19.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 123', TRUE, '2024-06-18 01:37:59', '2024-06-18 01:37:59') Fe::Page Load (8.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:37:59' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 124', TRUE, '2024-06-18 01:37:59', '2024-06-18 01:37:59') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 125', TRUE, '2024-06-18 01:37:59', '2024-06-18 01:37:59') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT Fe::Question Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::Question', 'Fe::ChoiceField', 'Fe::DateField', 'Fe::TextField', 'Fe::ReferenceQuestion', 'Fe::AttachmentField', 'Fe::StateChooser') AND `fe_elements`.`id` IN (2, 3)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (23.9ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 101', '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:59.781767' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 291) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 289', 291, '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:59.807223' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 292) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 290', 292, '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:59.832559' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 293) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 291', 293, '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:59.856504' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 294) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 292', 294, '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:37:59.879982' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 295) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 293', 295, '2024-06-18 01:37:59', '2024-06-18 01:37:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 126', TRUE, '2024-06-18 01:37:59', '2024-06-18 01:37:59') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:37:59', '2024-06-18 01:37:59') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:37:59' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:37:59', '2024-06-18 01:37:59', 'Fe::Element') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:38:00', '2024-06-18 01:38:00') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (26.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 102', '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:00.507498' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 296) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 294', 296, '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:00.533937' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 297) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 295', 297, '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (16.1ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:00.572863' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 298) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 296', 298, '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:00.596225' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 299) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 297', 299, '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:00.619602' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 300) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 298', 300, '2024-06-18 01:38:00', '2024-06-18 01:38:00')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 127', TRUE, '2024-06-18 01:38:00', '2024-06-18 01:38:00') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:38:00', '2024-06-18 01:38:00') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:00' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:00', '2024-06-18 01:38:00', 'Fe::Element') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:38:00', '2024-06-18 01:38:00') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 128', TRUE, TRUE, '2024-06-18 01:38:01', '2024-06-18 01:38:01', TRUE) Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 129', TRUE, TRUE, '2024-06-18 01:38:01', '2024-06-18 01:38:01', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.3ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 103', '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.321969' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 301) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 299', 301, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.347212' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 302) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 300', 302, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.370796' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 303) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 301', 303, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.393521' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 304) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 302', 304, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.416578' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 305) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 303', 305, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 104', '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.461740' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 306) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 304', 306, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.484364' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 307) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 305', 307, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.507152' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 308) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 306', 308, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.529548' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 309) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 307', 309, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.552463' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 310) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 308', 310, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:38:01', '2024-06-18 01:38:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:01' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:38:01', '2024-06-18 01:38:01') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:01' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 105', '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:01.688380' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 311) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 309', 311, '2024-06-18 01:38:01', '2024-06-18 01:38:01')  (1.6ms) COMMIT Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (27.2ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 130', TRUE, TRUE, '2024-06-18 01:38:02', '2024-06-18 01:38:02', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 131', TRUE, TRUE, '2024-06-18 01:38:02', '2024-06-18 01:38:02', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 106', '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.217876' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 312) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 310', 312, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.241261' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 313) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 311', 313, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.264209' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 314) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 312', 314, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.286303' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 315) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 313', 315, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.308906' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 316) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 314', 316, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 107', '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.353769' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 317) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 315', 317, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.377266' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 318) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 316', 318, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.399766' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 319) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 317', 319, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.422245' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 320) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 318', 320, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:02.444928' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 321) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 319', 321, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:38:02', '2024-06-18 01:38:02')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:38:02', '2024-06-18 01:38:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:02' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:38:02', '2024-06-18 01:38:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:02' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (26.2ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 132', TRUE, TRUE, '2024-06-18 01:38:03', '2024-06-18 01:38:03', TRUE) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 133', TRUE, TRUE, '2024-06-18 01:38:03', '2024-06-18 01:38:03', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.8ms) COMMIT Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 108', '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.107922' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 322) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 320', 322, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.131543' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 323) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 321', 323, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.154104' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 324) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 322', 324, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.177117' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 325) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 323', 325, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.201373' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 326) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 324', 326, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 109', '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.244855' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 327) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 325', 327, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.267275' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 328) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 326', 328, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.289572' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 329) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 327', 329, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.311975' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 330) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 328', 330, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:03.337166' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 331) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 329', 331, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:38:03', '2024-06-18 01:38:03') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:03' WHERE `fe_pages`.`id` = 6  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:38:03', '2024-06-18 01:38:03') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (3.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:03' WHERE `fe_pages`.`id` = 6  (1.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'match' WHERE `fe_answers`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (23.7ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (26.8ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 134', TRUE, TRUE, '2024-06-18 01:38:03', '2024-06-18 01:38:03', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 135', TRUE, TRUE, '2024-06-18 01:38:03', '2024-06-18 01:38:03', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.4ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.4ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 110', '2024-06-18 01:38:03', '2024-06-18 01:38:03')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.019942' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 332) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 330', 332, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.043286' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 333) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 331', 333, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.065897' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 334) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 332', 334, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.088044' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 335) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 333', 335, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.111689' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 336) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 334', 336, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 111', '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.157317' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 337) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 335', 337, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.184842' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 338) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 336', 338, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.208207' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 339) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 337', 339, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.231633' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 340) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 338', 340, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.255060' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 341) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 339', 341, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:38:04', '2024-06-18 01:38:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:04' WHERE `fe_pages`.`id` = 6  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:38:04', '2024-06-18 01:38:04') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:04' WHERE `fe_pages`.`id` = 6  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 112', '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.396813' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 342) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 340', 342, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.420450' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 343) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 341', 343, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.444753' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 344) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 342', 344, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.479874' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 345) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 343', 345, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:04.503787' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 346) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 344', 346, '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (1.5ms) COMMIT Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (22.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:04', '2024-06-18 01:38:04')  (4.8ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:04', '2024-06-18 01:38:04')  (2.6ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (26.6ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (19.3ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (25.4ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:05', '2024-06-18 01:38:05')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:05', '2024-06-18 01:38:05')  (1.6ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 136', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05') Fe::Page Load (8.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 137', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:05' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 138', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:05' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 139', TRUE, '2024-06-18 01:38:05', '2024-06-18 01:38:05') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:06' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid conditional visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 2, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (7.2ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 9  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (41.0ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (23.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (23.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (29.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 140', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06') Fe::Page Load (8.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 1, 'Fe::Element', 'yes') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 141', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06') Fe::QuestionGrid Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:06' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 142', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 4) Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:06' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 4, 'Fe::Element', 'yes') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.8ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 143', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:06' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (31.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:06', '2024-06-18 01:38:06', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (2.6ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 5 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 4 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 6  (1.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (39.6ms) TRUNCATE TABLE `fe_addresses`  (30.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (26.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 144', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07', 1, 'Fe::Element', 'yes') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceQuestion Create (1.7ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 145', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:07' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 146', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:07' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 147', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:07' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07', 7, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 7 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 8  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (44.0ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (26.7ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (23.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 148', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 149', TRUE, '2024-06-18 01:38:07', '2024-06-18 01:38:07') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:07' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:08', '2024-06-18 01:38:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 150', TRUE, '2024-06-18 01:38:08', '2024-06-18 01:38:08', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:08', '2024-06-18 01:38:08', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 151', TRUE, '2024-06-18 01:38:08', '2024-06-18 01:38:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:38:08', '2024-06-18 01:38:08', 7, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (41.5ms) TRUNCATE TABLE `fe_addresses`  (27.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (39.0ms) TRUNCATE TABLE `fe_elements`  (27.3ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (30.0ms) TRUNCATE TABLE `fe_pages`  (39.3ms) TRUNCATE TABLE `fe_people`  (22.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (24.9ms) TRUNCATE TABLE `fe_users`  (25.3ms) TRUNCATE TABLE `phone_numbers`  (24.7ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 113', '2024-06-18 01:38:08', '2024-06-18 01:38:08')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:38:08', '2024-06-18 01:38:08', 1) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 'relationship_26', 'fn_26', 'ln_26', 'phone_26', 'email_23@email.com', 'created', '2024-06-18 01:38:08', '2024-06-18 01:38:08', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 114', '2024-06-18 01:38:08', '2024-06-18 01:38:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Update (2.3ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 115', '2024-06-18 01:38:08', '2024-06-18 01:38:08')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Update (1.2ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 3 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 3, `fe_references`.`updated_at` = '2024-06-18 01:38:08' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (32.1ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (27.4ms) TRUNCATE TABLE `fe_applications`  (35.1ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (24.1ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (23.4ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:38:09', '2024-06-18 01:38:09') Fe::Page Load (8.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (28.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:38:09', '2024-06-18 01:38:09') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (27.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (24.8ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (26.7ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (26.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (27.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (23.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 116', '2024-06-18 01:38:11', '2024-06-18 01:38:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:11.824801' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 347) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 345', 347, '2024-06-18 01:38:11', '2024-06-18 01:38:11')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 152', TRUE, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:11' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 153', TRUE, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:11.971568' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 348) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 346', 348, '2024-06-18 01:38:11', '2024-06-18 01:38:11')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 154', TRUE, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 3, 1, '2024-06-18 01:38:11', '2024-06-18 01:38:11') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:12' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 155', TRUE, '2024-06-18 01:38:12', '2024-06-18 01:38:12') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 4, 2, '2024-06-18 01:38:12', '2024-06-18 01:38:12') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:12' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '4,3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 4, 3) ORDER BY id=2 DESC, id=1 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 117', '2024-06-18 01:38:12', '2024-06-18 01:38:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 118', '2024-06-18 01:38:12', '2024-06-18 01:38:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:12.543938' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 349) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (2, 'Label Page 347', 349, '2024-06-18 01:38:12', '2024-06-18 01:38:12', '')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 119', '2024-06-18 01:38:12', '2024-06-18 01:38:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:12.577457' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 350) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (3, 'Label Page 348', 350, '2024-06-18 01:38:12', '2024-06-18 01:38:12', '')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 156', TRUE, '2024-06-18 01:38:12', '2024-06-18 01:38:12') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:38:12', '2024-06-18 01:38:12') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:12' WHERE `fe_pages`.`id` = 2  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 349) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:12.655317' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 349) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 350) AND (`fe_pages`.id != 2) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:12.669546' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 2) AND (`fe_pages`.`number` >= 350) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 2  (1.3ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (39.3ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 120', '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 121', '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:13.128145' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 351) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 349', 351, '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 351) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:13.147560' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 351) Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (8.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (41.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (29.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 122', '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:13.620992' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 352) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 350', 352, '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 157', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:13' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 158', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 159', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 160', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 2, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:13' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:13.861368' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 353) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 351', 353, '2024-06-18 01:38:13', '2024-06-18 01:38:13')  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 161', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 5, 1, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '5' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:13' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::TextField', 'short', 'Label Element 162', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::Section', 'section', 'Label Element 163', TRUE, '2024-06-18 01:38:13', '2024-06-18 01:38:13') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 6 LIMIT 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 164', TRUE, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 8, 2, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7,8' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:14' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=8 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (29.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.5ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (28.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (22.7ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (28.1ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 123', '2024-06-18 01:38:14', '2024-06-18 01:38:14')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:14.557973' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 354) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 352', 354, '2024-06-18 01:38:14', '2024-06-18 01:38:14')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 165', TRUE, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:14' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 166', TRUE, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::QuestionGridWithTotal Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 167', TRUE, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:14' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 168', TRUE, '2024-06-18 01:38:14', '2024-06-18 01:38:14') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (27.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (26.5ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 124', '2024-06-18 01:38:15', '2024-06-18 01:38:15')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:15.236828' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 355) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 353', 355, '2024-06-18 01:38:15', '2024-06-18 01:38:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 169', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:15' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 170', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 171', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:15' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 172', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.4ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (29.4ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 125', '2024-06-18 01:38:15', '2024-06-18 01:38:15')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:15.918583' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 356) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 354', 356, '2024-06-18 01:38:15', '2024-06-18 01:38:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:15', '2024-06-18 01:38:15', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:16', '2024-06-18 01:38:16')  (1.7ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (35.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (40.5ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 126', '2024-06-18 01:38:16', '2024-06-18 01:38:16')  (2.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:16.664672' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 357) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 355', 357, '2024-06-18 01:38:16', '2024-06-18 01:38:16')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:16', '2024-06-18 01:38:16', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:16', '2024-06-18 01:38:16', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:16', '2024-06-18 01:38:16', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:16', '2024-06-18 01:38:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:16', '2024-06-18 01:38:16')  (1.4ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (29.3ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 127', '2024-06-18 01:38:17', '2024-06-18 01:38:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:17.380052' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 358) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 356', 358, '2024-06-18 01:38:17', '2024-06-18 01:38:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:17', '2024-06-18 01:38:17', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:17', '2024-06-18 01:38:17', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:17', '2024-06-18 01:38:17', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:17' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:17' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:17', '2024-06-18 01:38:17')  (1.6ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (3.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 01:38:17', '2024-06-18 01:38:17')  (1.8ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 2', '2024-06-18 01:38:17', '2024-06-18 01:38:17') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (2.5ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (26.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (24.6ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 128', '2024-06-18 01:38:18', '2024-06-18 01:38:18')  (13.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:18.272508' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 359) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 357', 359, '2024-06-18 01:38:18', '2024-06-18 01:38:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:18', '2024-06-18 01:38:18', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:18', '2024-06-18 01:38:18') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (5.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:18', '2024-06-18 01:38:18', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:18', '2024-06-18 01:38:18', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:18', '2024-06-18 01:38:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:18' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:18', '2024-06-18 01:38:18') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (2.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:18', '2024-06-18 01:38:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:18', '2024-06-18 01:38:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:18', '2024-06-18 01:38:18')  (1.4ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 01:38:18', '2024-06-18 01:38:18')  (1.5ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'an updated response' WHERE `fe_answers`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (33.6ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (22.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 129', '2024-06-18 01:38:19', '2024-06-18 01:38:19')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:19.164659' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 360) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 358', 360, '2024-06-18 01:38:19', '2024-06-18 01:38:19')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:19' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:19' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:19', '2024-06-18 01:38:19')  (1.4ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (45.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (27.4ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (25.6ms) TRUNCATE TABLE `fe_email_templates`  (21.8ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 130', '2024-06-18 01:38:19', '2024-06-18 01:38:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:19.939776' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 361) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 359', 361, '2024-06-18 01:38:19', '2024-06-18 01:38:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:19', '2024-06-18 01:38:19', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:20', '2024-06-18 01:38:20', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:20', '2024-06-18 01:38:20')  (1.4ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, '', '2024-06-18 01:38:20', '2024-06-18 01:38:20')  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 131', '2024-06-18 01:38:20', '2024-06-18 01:38:20')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:20.673829' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 362) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 360', 362, '2024-06-18 01:38:20', '2024-06-18 01:38:20')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:38:20', '2024-06-18 01:38:20', TRUE) Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:38:20', '2024-06-18 01:38:20', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:38:20', '2024-06-18 01:38:20', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:20' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:20', '2024-06-18 01:38:20')  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 01:38:20', '2024-06-18 01:38:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.5ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'choice 1', '2024-06-18 01:38:21', '2024-06-18 01:38:21') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (2.9ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 132', '2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 173', TRUE, '2024-06-18 01:38:21', '2024-06-18 01:38:21', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 133', '2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:21.551100' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 363) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 361', 363, '2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 363) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:21.567285' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 363) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:21', '2024-06-18 01:38:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.6ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 01:38:21', '2024-06-18 01:38:21')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (23.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (23.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 134', '2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 174', TRUE, '2024-06-18 01:38:22', '2024-06-18 01:38:22', 'a;b') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 135', '2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:22.125295' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 364) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 362', 364, '2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 364) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:22.142126' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 364) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:22', '2024-06-18 01:38:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:22' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:38:22', '2024-06-18 01:38:22')  (1.5ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.4ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (42.0ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 136', '2024-06-18 01:38:23', '2024-06-18 01:38:23')  (1.5ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_question_sheets` Processing by Fe::Admin::QuestionSheetsController#duplicate as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 136 - COPY', '2024-06-18 01:38:23', '2024-06-18 01:38:23')  (1.4ms) COMMIT Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Redirected to http://test.host/ Completed 302 Found in 19ms (ActiveRecord: 8.2ms)  (2.0ms) SELECT COUNT(*) FROM `fe_question_sheets` Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY `fe_question_sheets`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (27.9ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (28.0ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 137', '2024-06-18 01:38:23', '2024-06-18 01:38:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:23.936919' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 365) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 363', 365, '2024-06-18 01:38:23', '2024-06-18 01:38:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:23.962930' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 366) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 364', 366, '2024-06-18 01:38:23', '2024-06-18 01:38:23')  (1.7ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/panels/_page.html.erb [2 times] (2.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_pages_list.html.erb (7.3ms) Fe::Element Load (11.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin (38.2ms) Completed 200 OK in 807ms (Views: 785.9ms | ActiveRecord: 13.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (29.7ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (28.0ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (26.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 138', '2024-06-18 01:38:25', '2024-06-18 01:38:25')  (1.4ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#archive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = TRUE WHERE `fe_question_sheets`.`id` = 1  (1.6ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 10ms (ActiveRecord: 4.2ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (24.8ms) TRUNCATE TABLE `fe_people`  (18.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 139', '2024-06-18 01:38:25', '2024-06-18 01:38:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 140', TRUE, '2024-06-18 01:38:25', '2024-06-18 01:38:25')  (1.5ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = FALSE ORDER BY label Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = TRUE ORDER BY label Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin (10.6ms) Completed 200 OK in 24ms (Views: 17.7ms | ActiveRecord: 2.2ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (34.4ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 141', TRUE, '2024-06-18 01:38:26', '2024-06-18 01:38:26')  (1.4ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#unarchive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.0ms) UPDATE `fe_question_sheets` SET `archived` = FALSE WHERE `fe_question_sheets`.`id` = 1  (1.5ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 10ms (ActiveRecord: 4.1ms) Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (24.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 142', '2024-06-18 01:38:26', '2024-06-18 01:38:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:26.563433' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 367) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 365', 367, '2024-06-18 01:38:26', '2024-06-18 01:38:26')  (1.5ms) COMMIT Processing by Fe::Admin::QuestionPagesController#show as JS Parameters: {"question_sheet_id"=>"1", "id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`id` = 1 ORDER BY number LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb Fe::Element Load (11.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb (29.0ms) Completed 200 OK in 65ms (Views: 43.1ms | ActiveRecord: 13.6ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (25.0ms) TRUNCATE TABLE `phone_numbers`  (25.2ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (26.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (36.2ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (41.0ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:28', '2024-06-18 01:38:28')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:38:28', '2024-06-18 01:38:28') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (15.3ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '13/12/2013', '2024-06-18 01:38:28', '2024-06-18 01:38:28')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:28', '2024-06-18 01:38:28')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::DateField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:38:28', '2024-06-18 01:38:28') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:28 UTC', '2024-06-18 01:38:28', '2024-06-18 01:38:28')  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:28', '2024-06-18 01:38:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:38:28', '2024-06-18 01:38:28') Fe::Page Load (8.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '1/12/2013', '2024-06-18 01:38:29', '2024-06-18 01:38:29')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (20.0ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.8ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (27.5ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (27.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 143', '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (10.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (1.5ms) Completed 200 OK in 48ms (Views: 39.1ms | ActiveRecord: 3.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (26.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 144', '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:30.856534' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 368) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 366', 368, '2024-06-18 01:38:30', '2024-06-18 01:38:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 175', TRUE, '2024-06-18 01:38:30', '2024-06-18 01:38:30') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:30', '2024-06-18 01:38:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:38:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_27', 'fn_27', 'ln_27', 'phone_27', 'email_24@email.com', 'created', '2024-06-18 01:38:30', '2024-06-18 01:38:30') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:38:31' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 01:38:31', '2024-06-18 01:38:31')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::EmailTemplate Create (0.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 01:38:31', '2024-06-18 01:38:31')  (1.2ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a078b64e7b20366e2c19f275e6707ec0' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = 'a078b64e7b20366e2c19f275e6707ec0' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 559.0ms Sent mail to email@email.com (95.3ms) Date: Mon, 17 Jun 2024 21:38:31 -0400 From: info@example.com To: email@email.com Message-ID: <6670e5179b9f6_fee12df04364e@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.6ms Sent mail to email@email.com (5.1ms) Date: Mon, 17 Jun 2024 21:38:31 -0400 From: info@example.com To: email@email.com Message-ID: <6670e517b0fb1_fee12df04371c@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 01:38:31' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (4.8ms) Completed 200 OK in 769ms (Views: 39.3ms | ActiveRecord: 14.8ms) Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (19.5ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (25.2ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 145', '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (1.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:32', '2024-06-18 01:38:32') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.6ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 26ms (ActiveRecord: 5.1ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (24.7ms) TRUNCATE TABLE `fe_email_templates`  (28.5ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (19.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Person Create (4.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 146', '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 176', TRUE, '2024-06-18 01:38:32', '2024-06-18 01:38:32') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:32.781929' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 369) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 367', 369, '2024-06-18 01:38:32', '2024-06-18 01:38:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:32', '2024-06-18 01:38:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:32' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (22.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (34.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (54.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 109ms (Views: 59.6ms | ActiveRecord: 17.1ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (19.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (24.7ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:33', '2024-06-18 01:38:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:33', '2024-06-18 01:38:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 147', '2024-06-18 01:38:33', '2024-06-18 01:38:33')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:33', '2024-06-18 01:38:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:33.411791' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 370) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 368', 370, '2024-06-18 01:38:33', '2024-06-18 01:38:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 177', TRUE, TRUE, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 178', TRUE, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 179', TRUE, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:33', '2024-06-18 01:38:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.7ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 62ms (Views: 23.2ms | ActiveRecord: 16.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.0ms) TRUNCATE TABLE `fe_addresses`  (27.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (37.8ms) TRUNCATE TABLE `fe_elements`  (25.9ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 148', '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:34.156432' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 371) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 369', 371, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 180', TRUE, TRUE, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 181', TRUE, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 182', TRUE, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:34' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (16.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (24.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (24.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 77ms (Views: 28.6ms | ActiveRecord: 20.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (35.7ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (19.9ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 149', '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 150', '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:34.925531' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 372) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 370', 372, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 183', TRUE, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:34.978976' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 373) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 371', 373, '2024-06-18 01:38:34', '2024-06-18 01:38:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:38:34', '2024-06-18 01:38:34') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:35' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:35', '2024-06-18 01:38:35') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.6ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (18.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 62ms (Views: 24.8ms | ActiveRecord: 17.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (30.0ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (23.6ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (26.0ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 151', '2024-06-18 01:38:35', '2024-06-18 01:38:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:35', '2024-06-18 01:38:35')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:35', '2024-06-18 01:38:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:35', '2024-06-18 01:38:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:35.616958' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 374) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 372', 374, '2024-06-18 01:38:35', '2024-06-18 01:38:35')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.0ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (4.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_page_link.html.erb [1 times] (7.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (14.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_title.html.erb (1.7ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (6.1ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGridWithTotal') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_submit_to.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (54.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 124ms (Views: 73.0ms | ActiveRecord: 26.9ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (22.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (38.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.2ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 152', '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (5.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 19ms (ActiveRecord: 8.9ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.0ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (33.0ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (38.2ms) TRUNCATE TABLE `fe_elements`  (25.0ms) TRUNCATE TABLE `fe_email_templates`  (64.8ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (34.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 153', '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:36', '2024-06-18 01:38:36')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (5.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 35ms (Views: 17.1ms | ActiveRecord: 9.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (30.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 154', '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (2.1ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:37.287238' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 375) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 373', 375, '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:37.312991' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 376) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 374', 376, TRUE, '2024-06-18 01:38:37', '2024-06-18 01:38:37')  (1.3ms) COMMIT Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (25.2ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:38', '2024-06-18 01:38:38')  (2.3ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.2ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (23.1ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (34.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:39', '2024-06-18 01:38:39')  (1.4ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.5ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (39.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (28.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::EmailTemplate Create (4.3ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:39', '2024-06-18 01:38:39')  (1.2ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:39', '2024-06-18 01:38:39')  (1.4ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.5ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.6ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:40', '2024-06-18 01:38:40')  (1.7ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 7.1ms  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (28.3ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (25.3ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:38:40', '2024-06-18 01:38:40')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 6.4ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (29.1ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (26.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (27.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (25.2ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:41', '2024-06-18 01:38:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 155', '2024-06-18 01:38:41', '2024-06-18 01:38:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:41.639764' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 377) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 375', 377, '2024-06-18 01:38:41', '2024-06-18 01:38:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:41', '2024-06-18 01:38:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 184', TRUE, '2024-06-18 01:38:41', '2024-06-18 01:38:41') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:41', '2024-06-18 01:38:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:41' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (3.1ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.5ms) Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (11.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (17.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (27.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (33.3ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (294.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (342.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (349.5ms) Completed 200 OK in 423ms (Views: 349.4ms | ActiveRecord: 22.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (29.3ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (27.1ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:42', '2024-06-18 01:38:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 156', '2024-06-18 01:38:42', '2024-06-18 01:38:42')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:42.596793' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 378) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 376', 378, '2024-06-18 01:38:42', '2024-06-18 01:38:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:42', '2024-06-18 01:38:42')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 185', TRUE, '2024-06-18 01:38:42', '2024-06-18 01:38:42', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 185', TRUE, '2024-06-18 01:38:42', '2024-06-18 01:38:42', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:38:42', '2024-06-18 01:38:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:42' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (22.4ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (49.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (76.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (3.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (23.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (45.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (66.0ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (14.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (138.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (256.1ms) Completed 200 OK in 395ms (Views: 271.3ms | ActiveRecord: 31.4ms) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.8ms) TRUNCATE TABLE `fe_addresses`  (22.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:43', '2024-06-18 01:38:43')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 157', '2024-06-18 01:38:43', '2024-06-18 01:38:43')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:43.498352' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 379) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 377', 379, '2024-06-18 01:38:43', '2024-06-18 01:38:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:43', '2024-06-18 01:38:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (7.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 186', TRUE, '2024-06-18 01:38:43', '2024-06-18 01:38:43', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 187', TRUE, '2024-06-18 01:38:43', '2024-06-18 01:38:43') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:43', '2024-06-18 01:38:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:43' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:38:43', '2024-06-18 01:38:43') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:43' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.7ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (5.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (45.5ms) Completed 200 OK in 85ms (Views: 48.7ms | ActiveRecord: 4.7ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (28.2ms) TRUNCATE TABLE `fe_applications`  (53.0ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (22.8ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:38:44', '2024-06-18 01:38:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 158', '2024-06-18 01:38:44', '2024-06-18 01:38:44')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:38:44.221356' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 380) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 378', 380, '2024-06-18 01:38:44', '2024-06-18 01:38:44')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:38:44', '2024-06-18 01:38:44')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 188', TRUE, '2024-06-18 01:38:44', '2024-06-18 01:38:44') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (4.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:38:44', '2024-06-18 01:38:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:38:44' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (59213.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (59218.7ms) Completed 500 Internal Server Error in 59273ms (ActiveRecord: 7.7ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (35.3ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 159', '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:44.073502' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 381) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 379', 381, '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 189', TRUE, '2024-06-18 01:39:44', '2024-06-18 01:39:44') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:44', '2024-06-18 01:39:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:44' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (8.6ms) Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (19.6ms) Completed 200 OK in 54ms (Views: 19.4ms | ActiveRecord: 10.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (42.1ms) TRUNCATE TABLE `fe_conditions`  (43.1ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (33.0ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 160', '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:44.687369' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 382) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 380', 382, '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:44', '2024-06-18 01:39:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 190', TRUE, '2024-06-18 01:39:44', '2024-06-18 01:39:44') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:44', '2024-06-18 01:39:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:44' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (3.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (10.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (5.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (13.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (28.0ms) Completed 200 OK in 80ms (Views: 28.2ms | ActiveRecord: 17.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:45', '2024-06-18 01:39:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 161', '2024-06-18 01:39:45', '2024-06-18 01:39:45')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:45.265045' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 383) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 381', 383, '2024-06-18 01:39:45', '2024-06-18 01:39:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:45', '2024-06-18 01:39:45')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 191', TRUE, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 192', TRUE, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 193', TRUE, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 194', TRUE, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 195', TRUE, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:45' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:45' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:39:45', '2024-06-18 01:39:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:45' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.7ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1 WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.1ms) Completed 200 OK in 106ms (Views: 2.7ms | ActiveRecord: 34.9ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (32.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 162', '2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:46.079894' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 384) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 382', 384, '2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 196', TRUE, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 197', TRUE, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 198', TRUE, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 199', TRUE, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 200', TRUE, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:39:46', '2024-06-18 01:39:46') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.2ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:39:46.377933' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:39:46.440423' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:46' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 179ms (Views: 1.9ms | ActiveRecord: 73.2ms) Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 163', '2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:46.997671' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 385) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 383', 385, '2024-06-18 01:39:46', '2024-06-18 01:39:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 201', TRUE, '2024-06-18 01:39:47', '2024-06-18 01:39:47') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:47', '2024-06-18 01:39:47') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:47' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:39:47.126889' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:47' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (10.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (16.0ms) Completed 200 OK in 89ms (Views: 17.6ms | ActiveRecord: 30.2ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.6ms) TRUNCATE TABLE `fe_addresses`  (21.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:47', '2024-06-18 01:39:47')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 164', '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:47.636267' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 386) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 384', 386, '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 165', '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:47.669226' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 387) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 385', 387, '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:47', '2024-06-18 01:39:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 202', TRUE, '2024-06-18 01:39:47', '2024-06-18 01:39:47') Fe::Page Load (5.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:47', '2024-06-18 01:39:47') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:47' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:39:47', '2024-06-18 01:39:47') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:47' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:39:47.824999' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:47' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.1ms) Completed 200 OK in 79ms (Views: 7.6ms | ActiveRecord: 31.7ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.9ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 166', '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:48.331441' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 388) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 386', 388, '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 203', TRUE, '2024-06-18 01:39:48', '2024-06-18 01:39:48') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:48', '2024-06-18 01:39:48') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:48' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.6ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.2ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:39:48.446127' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:48' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (4.1ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.1ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.3ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.6ms) Completed 200 OK in 82ms (Views: 8.2ms | ActiveRecord: 39.1ms) Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (23.7ms) TRUNCATE TABLE `users`  (27.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 167', '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:48.957775' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 389) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 387', 389, '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:48', '2024-06-18 01:39:48')  (1.4ms) COMMIT  (8.4ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:39:49', '2024-06-18 01:39:49') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:39:49', '2024-06-18 01:39:49') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:39:49' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.4ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (7.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.4ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (10.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (18.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (42.0ms) Completed 200 OK in 111ms (Views: 40.6ms | ActiveRecord: 24.0ms)  (2.4ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_answers`  (29.0ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (27.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:39:49', '2024-06-18 01:39:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 168', '2024-06-18 01:39:49', '2024-06-18 01:39:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:39:49.570669' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 390) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 388', 390, '2024-06-18 01:39:49', '2024-06-18 01:39:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:39:49', '2024-06-18 01:39:49')  (1.5ms) COMMIT  (8.3ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (74579.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (74580.0ms) Completed 500 Internal Server Error in 74598ms (ActiveRecord: 3.3ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (39.2ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (24.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (27.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.5ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 01:54:46', '2024-06-18 01:54:46')  (6.9ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (2.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:46', '2024-06-18 01:54:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (2.6ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:47', '2024-06-18 01:54:47')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:47', '2024-06-18 01:54:47')  (6.0ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:47.204438' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:54:47', '2024-06-18 01:54:47')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (6.0ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (3.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application  (1.5ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_page_link.html.erb [1 times] (8.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (761.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_title.html.erb (1.7ms)  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (1.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (14.7ms)  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGridWithTotal') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_submit_to.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (817.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (1.5ms) Completed 200 OK in 1043ms (Views: 846.8ms | ActiveRecord: 51.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (6.4ms) select table_name from information_schema.views where table_schema = 'fe_test'  (24.4ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (32.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.3ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.3ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 35ms (Views: 16.6ms | ActiveRecord: 9.1ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (34.8ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.1ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:49', '2024-06-18 01:54:49')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 18ms (ActiveRecord: 7.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (19.8ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 01:54:50', '2024-06-18 01:54:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:50', '2024-06-18 01:54:50')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:50', '2024-06-18 01:54:50')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:50', '2024-06-18 01:54:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:50.279869' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:54:50', '2024-06-18 01:54:50')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 1', TRUE, '2024-06-18 01:54:50', '2024-06-18 01:54:50') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:54:50' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (3.8ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:54:50', '2024-06-18 01:54:50') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:54:50' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:50' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'email_1@email.com', 'created', '2024-06-18 01:54:50', '2024-06-18 01:54:50') Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (3.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:54:50' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (2.7ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 01:54:51', '2024-06-18 01:54:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (1.0ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 01:54:51', '2024-06-18 01:54:51')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '9bbd9e13e6a6569699ee5ba4c3a34109' LIMIT 1 Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = '9bbd9e13e6a6569699ee5ba4c3a34109', `updated_at` = '2024-06-18 01:54:51' WHERE `fe_references`.`id` = 1  (3.9ms) COMMIT Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (1.3ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 564.3ms Sent mail to email@email.com (93.6ms) Date: Mon, 17 Jun 2024 21:54:51 -0400 From: info@example.com To: email@email.com Message-ID: <6670e8ebdbf05_153c12df0404fe@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.3ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.8ms Sent mail to email@email.com (4.8ms) Date: Mon, 17 Jun 2024 21:54:51 -0400 From: info@example.com To: email@email.com Message-ID: <6670e8ebf149b_153c12df04059c@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 01:54:51' WHERE `fe_references`.`id` = 1  (3.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (4.6ms) Completed 200 OK in 978ms (Views: 44.3ms | ActiveRecord: 20.3ms) Fe::ReferenceSheet Load (1.3ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (21.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (19.7ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (24.1ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:54:52', '2024-06-18 01:54:52') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 27ms (ActiveRecord: 4.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (21.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (19.2ms) TRUNCATE TABLE `fe_people`  (25.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.4ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:52', '2024-06-18 01:54:52')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 2', TRUE, '2024-06-18 01:54:53', '2024-06-18 01:54:53') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:53.198051' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:54:53', '2024-06-18 01:54:53') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:53' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.5ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (5.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (27.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (38.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (42.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 97ms (Views: 47.0ms | ActiveRecord: 17.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (21.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:53.813400' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 4) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 4', 4, '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 3', TRUE, '2024-06-18 01:54:53', '2024-06-18 01:54:53') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:53.868253' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:54:53', '2024-06-18 01:54:53')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:54:53', '2024-06-18 01:54:53') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:53' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:54:53', '2024-06-18 01:54:53') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:53' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.7ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (9.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 62ms (Views: 24.7ms | ActiveRecord: 16.7ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (29.0ms) TRUNCATE TABLE `fe_addresses`  (21.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (27.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:54', '2024-06-18 01:54:54')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:54', '2024-06-18 01:54:54')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:54:54', '2024-06-18 01:54:54')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:54', '2024-06-18 01:54:54')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:54.513899' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:54:54', '2024-06-18 01:54:54')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 4', TRUE, TRUE, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:54' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 5', TRUE, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:54' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 6', TRUE, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:54:54', '2024-06-18 01:54:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:54' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (4.1ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (18.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 66ms (Views: 24.2ms | ActiveRecord: 18.1ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (22.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (35.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (26.4ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:55', '2024-06-18 01:54:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:55', '2024-06-18 01:54:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:54:55', '2024-06-18 01:54:55')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:55', '2024-06-18 01:54:55')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:55.303645' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:54:55', '2024-06-18 01:54:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 7', TRUE, TRUE, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:55' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 8', TRUE, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:55' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 9', TRUE, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:54:55', '2024-06-18 01:54:55') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:54:55' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (16.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (23.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (23.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 72ms (Views: 26.3ms | ActiveRecord: 21.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (30.6ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (27.9ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (10.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 30ms (Views: 21.8ms | ActiveRecord: 3.3ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (33.1ms) TRUNCATE TABLE `fe_references`  (26.8ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:56.564804' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:54:56.590102' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, TRUE, '2024-06-18 01:54:56', '2024-06-18 01:54:56')  (1.4ms) COMMIT Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (21.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (30.3ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (18.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (19.1ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', TRUE, '2024-06-18 01:55:54', '2024-06-18 01:55:54')  (3.3ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#unarchive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = FALSE WHERE `fe_question_sheets`.`id` = 1  (1.5ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 30ms (ActiveRecord: 4.3ms) Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.8ms) select table_name from information_schema.views where table_schema = 'fe_test'  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 01:55:55', '2024-06-18 01:55:55')  (1.3ms) COMMIT  (2.5ms) SELECT COUNT(*) FROM `fe_question_sheets` Processing by Fe::Admin::QuestionSheetsController#duplicate as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2 - COPY', '2024-06-18 01:55:55', '2024-06-18 01:55:55')  (5.8ms) COMMIT Fe::Page Load (3.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Redirected to http://test.host/ Completed 302 Found in 77ms (ActiveRecord: 20.0ms)  (2.8ms) SELECT COUNT(*) FROM `fe_question_sheets` Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY `fe_question_sheets`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (23.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (25.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 01:55:55', '2024-06-18 01:55:55')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', TRUE, '2024-06-18 01:55:55', '2024-06-18 01:55:55')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = FALSE ORDER BY label Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = TRUE ORDER BY label Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin (15.3ms) Completed 200 OK in 948ms (Views: 939.8ms | ActiveRecord: 2.8ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (35.9ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (26.9ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (24.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 01:55:57', '2024-06-18 01:55:57')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:57.179624' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 01:55:57', '2024-06-18 01:55:57')  (3.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:57.208651' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 01:55:57', '2024-06-18 01:55:57')  (1.3ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/panels/_page.html.erb [2 times] (3.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_pages_list.html.erb (7.9ms) Fe::Element Load (8.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (91.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin (112.1ms) Completed 200 OK in 130ms (Views: 85.9ms | ActiveRecord: 36.9ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 01:55:57', '2024-06-18 01:55:57')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#archive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = TRUE WHERE `fe_question_sheets`.`id` = 1  (1.6ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 10ms (ActiveRecord: 4.1ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (25.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.228093' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionPagesController#show as JS Parameters: {"question_sheet_id"=>"1", "id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`id` = 1 ORDER BY number LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb Fe::Element Load (11.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb (29.2ms) Completed 200 OK in 67ms (Views: 44.2ms | ActiveRecord: 13.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.7ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.747384' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.772545' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.795742' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.820443' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:58.845750' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 01:55:58', '2024-06-18 01:55:58')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 1', TRUE, '2024-06-18 01:55:59', '2024-06-18 01:55:59') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:55:59' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:55:59', '2024-06-18 01:55:59') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:55:59' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:55:59' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 2', TRUE, '2024-06-18 01:55:59', '2024-06-18 01:55:59') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:55:59' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:55:59', '2024-06-18 01:55:59') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:55:59' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:55:59' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (3.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (3.8ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:59.619690' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 9', 9, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:59.643977' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 10) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 10', 10, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:59.669595' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 11', 11, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:59.713130' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 12) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 12', 12, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:55:59.735756' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 13) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 13', 13, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:55:59', '2024-06-18 01:55:59')  (1.8ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.182901' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 14', 14, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.208228' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 15) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 15', 15, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.230682' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 16) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 16', 16, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.253012' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 17) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 17', 17, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.275539' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 18) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 18', 18, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 3', TRUE, '2024-06-18 01:56:00', '2024-06-18 01:56:00') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:00' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:00', '2024-06-18 01:56:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:00' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:00' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 4', TRUE, '2024-06-18 01:56:00', '2024-06-18 01:56:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:00' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:00', '2024-06-18 01:56:00') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:00' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:00' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.484621' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 19) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 19', 19, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.508618' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 20) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 20', 20, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.531778' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 21) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 21', 21, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.556762' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 22) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 22', 22, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:00.579943' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 23) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 23', 23, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.1ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (28.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 01:56:00', '2024-06-18 01:56:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.026383' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 24) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 24', 24, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.051913' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 25) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 25', 25, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.076706' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 26) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 26', 26, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.100362' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 27) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 27', 27, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.123576' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 28) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 28', 28, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 5', TRUE, '2024-06-18 01:56:01', '2024-06-18 01:56:01') Fe::Page Load (6.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (11.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:01', '2024-06-18 01:56:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:01' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 6', TRUE, '2024-06-18 01:56:01', '2024-06-18 01:56:01') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:01' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:01', '2024-06-18 01:56:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:01' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:01' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.355861' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 29) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 29', 29, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.381569' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 30) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 30', 30, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.408682' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 31) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 31', 31, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (15.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.447673' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 32) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 32', 32, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (38.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.510189' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 33) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 33', 33, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (4.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.4ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.962092' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 34) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 34', 34, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:01.987147' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 35) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 35', 35, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.009882' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 36) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 36', 36, '2024-06-18 01:56:01', '2024-06-18 01:56:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.032200' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 37) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 37', 37, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.055239' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 38) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 38', 38, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 7', TRUE, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:02' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 8', TRUE, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 15', '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.260590' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 39) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 39', 39, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.284062' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 40) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 40', 40, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.307325' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 41) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 41', 41, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.331349' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 42) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 42', 42, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.354463' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 43) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 43', 43, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (23.6ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (23.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 16', '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.799331' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 44) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 44', 44, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.825964' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 45) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 45', 45, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.849057' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 46) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 46', 46, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.871663' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 47) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 47', 47, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:02.894695' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 48) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 48', 48, '2024-06-18 01:56:02', '2024-06-18 01:56:02')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 9', TRUE, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 10', TRUE, '2024-06-18 01:56:02', '2024-06-18 01:56:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:03' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 17', '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.100533' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 49) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 49', 49, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.123834' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 50) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 50', 50, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.146493' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 51) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 51', 51, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.171752' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 52) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 52', 52, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.196161' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 53) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 53', 53, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.7ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.3ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 11', TRUE, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (5.8ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:03' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC, id=3 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.8ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (43.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (27.5ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 18', '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.789532' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 54) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 54', 54, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.816364' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 55) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 55', 55, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.840034' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 56) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 56', 56, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.865220' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 57) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 57', 57, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:03.890370' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 58) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 58', 58, '2024-06-18 01:56:03', '2024-06-18 01:56:03')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 12', TRUE, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:03' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 13', TRUE, '2024-06-18 01:56:03', '2024-06-18 01:56:03') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:04', '2024-06-18 01:56:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (0.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:04' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 19', '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.103625' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 59) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 59', 59, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.127567' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 60) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 60', 60, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.151015' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 61) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 61', 61, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.176100' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 62) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 62', 62, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.200559' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 63) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 63', 63, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (42.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 20', '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.713281' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 64) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 64', 64, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.738185' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 65) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 65', 65, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.760753' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 66) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 66', 66, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.783412' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 67) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 67', 67, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:04.806520' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 68) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 68', 68, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 14', TRUE, '2024-06-18 01:56:04', '2024-06-18 01:56:04') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:04', '2024-06-18 01:56:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:04' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 15', TRUE, '2024-06-18 01:56:04', '2024-06-18 01:56:04') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:04', '2024-06-18 01:56:04') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:04' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:04' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 21', '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.011592' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 69) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 69', 69, '2024-06-18 01:56:04', '2024-06-18 01:56:04')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.034525' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 70) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 70', 70, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.058048' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 71) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 71', 71, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.080694' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 72) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 72', 72, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.103408' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 73) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 73', 73, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 22', '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.140984' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 74) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 74', 74, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.166198' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 75) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 75', 75, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.189569' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 76) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 76', 76, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.212487' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 77) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 77', 77, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:05.235336' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 78) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 78', 78, '2024-06-18 01:56:05', '2024-06-18 01:56:05')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.7ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.3ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05', 3) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (3.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (12.2ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (13.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::QuestionGridWithTotal Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:56:05', '2024-06-18 01:56:05') Fe::QuestionGridWithTotal Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:06' WHERE `fe_pages`.`id` = 11  (11.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:06' WHERE `fe_pages`.`id` = 11  (7.0ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:06' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:06' WHERE `fe_pages`.`id` = 11  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (2.7ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:56:06', '2024-06-18 01:56:06') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:06' WHERE `fe_pages`.`id` = 12  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Person Create (3.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (12.9ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (1.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (13.1ms) COMMIT Fe::Answer Load (3.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.8ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (3.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (23.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.8ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.1ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.4ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:56:06', '2024-06-18 01:56:06')  (1.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.4ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.4ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (25.5ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 23', '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.294021' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 79) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 79', 79, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.320437' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 80) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 80', 80, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.343996' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 81) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 81', 81, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.367500' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 82) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 82', 82, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.391277' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 83) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 83', 83, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 16', TRUE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:07' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:07' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:07' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 17', TRUE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:07' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:07' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:07' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24', '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.605989' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 84) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 84', 84, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.631028' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 85) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 85', 85, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.654108' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 86) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 86', 86, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.677100' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 87) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 87', 87, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.700912' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 88) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 88', 88, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 25', '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.740996' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 89) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 89', 89, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.764856' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 90) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 90', 90, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.789443' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 91) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 91', 91, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.813876' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 92) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 92', 92, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:07.838508' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 93) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 93', 93, '2024-06-18 01:56:07', '2024-06-18 01:56:07')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:56:07', '2024-06-18 01:56:07', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:56:07', '2024-06-18 01:56:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (14.9ms) COMMIT  (0.8ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:56:08', '2024-06-18 01:56:08', 11) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::QuestionGridWithTotal Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:08' WHERE `fe_pages`.`id` = 11  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (2.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (3.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:08' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:08' WHERE `fe_pages`.`id` = 11  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (3.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:08' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:56:08', '2024-06-18 01:56:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:08' WHERE `fe_pages`.`id` = 12  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.4ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.6ms) COMMIT Fe::Answer Load (5.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (2.1ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.8ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.5ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:56:08', '2024-06-18 01:56:08')  (1.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (2.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.4ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (1.1ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (24.0ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (35.7ms) TRUNCATE TABLE `fe_references`  (26.0ms) TRUNCATE TABLE `fe_users`  (26.4ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 26', '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.287221' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 94) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 94', 94, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (2.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.315627' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 95) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 95', 95, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.341436' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 96) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 96', 96, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.366482' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 97) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 97', 97, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.391176' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 98) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 98', 98, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 18', TRUE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:09' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 19', TRUE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:09' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:09' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:09' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.3ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 27', '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.623528' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 99) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 99', 99, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.648931' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 100) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 100', 100, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.673303' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 101) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 101', 101, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.697566' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 102) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 102', 102, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.721764' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 103) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 103', 103, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 28', '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.760898' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 104) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 104', 104, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.784860' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 105) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 105', 105, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.808084' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 106) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 106', 106, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.832274' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 107) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 107', 107, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:09.856142' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 108) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 108', 108, '2024-06-18 01:56:09', '2024-06-18 01:56:09')  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 01:56:09', '2024-06-18 01:56:09', 3) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 01:56:09', '2024-06-18 01:56:09') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 01:56:10', '2024-06-18 01:56:10', 11) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:10' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:10' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:10' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:10' WHERE `fe_pages`.`id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 01:56:10', '2024-06-18 01:56:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:10' WHERE `fe_pages`.`id` = 12  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.3ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 01:56:10', '2024-06-18 01:56:10')  (1.2ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.2ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (13,14,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:11', '2024-06-18 01:56:11')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 29', '2024-06-18 01:56:11', '2024-06-18 01:56:11')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:11.197861' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 109) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 109', 109, '2024-06-18 01:56:11', '2024-06-18 01:56:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:11', '2024-06-18 01:56:11')  (1.5ms) COMMIT  (8.3ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (5054.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (5059.0ms) Completed 200 OK in 5116ms (Views: 5064.3ms | ActiveRecord: 3.2ms)  (1.2ms) SELECT COUNT(*) FROM `fe_elements`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (42.1ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (32.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:16', '2024-06-18 01:56:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 30', '2024-06-18 01:56:16', '2024-06-18 01:56:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:16.812083' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 110) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 110', 110, '2024-06-18 01:56:16', '2024-06-18 01:56:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:16', '2024-06-18 01:56:16')  (1.4ms) COMMIT  (8.1ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 01:56:16', '2024-06-18 01:56:16') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:16', '2024-06-18 01:56:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (7.4ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (15.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (25.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (7.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (12.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (35.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (41.7ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (275.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (327.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (361.0ms) Completed 200 OK in 428ms (Views: 359.6ms | ActiveRecord: 23.5ms)  (2.6ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (33.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (26.6ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:17', '2024-06-18 01:56:17')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 31', '2024-06-18 01:56:17', '2024-06-18 01:56:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:17.738335' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 111) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 111', 111, '2024-06-18 01:56:17', '2024-06-18 01:56:17')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:17', '2024-06-18 01:56:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 20', TRUE, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 21', TRUE, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 22', TRUE, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 23', TRUE, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 24', TRUE, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:17' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:17' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:17', '2024-06-18 01:56:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 2, `updated_at` = '2024-06-18 01:56:18' WHERE `fe_page_elements`.`id` = 1  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:18.037067' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:18' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3, `updated_at` = '2024-06-18 01:56:18' WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:18.146797' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Update (1.0ms) UPDATE `fe_page_elements` SET `position` = 1, `updated_at` = '2024-06-18 01:56:18' WHERE `fe_page_elements`.`id` = 3  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.1ms) Completed 200 OK in 235ms (Views: 2.9ms | ActiveRecord: 73.5ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (88.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (37.0ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.9ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:18', '2024-06-18 01:56:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 32', '2024-06-18 01:56:18', '2024-06-18 01:56:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:18.784362' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 112) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 112', 112, '2024-06-18 01:56:18', '2024-06-18 01:56:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:18', '2024-06-18 01:56:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 25', TRUE, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 26', TRUE, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 27', TRUE, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 28', TRUE, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 29', TRUE, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:18' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:18', '2024-06-18 01:56:18') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:19', '2024-06-18 01:56:19') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:19' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.7ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2, `updated_at` = '2024-06-18 01:56:19' WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.9ms) UPDATE `fe_elements` SET `position` = 1, `updated_at` = '2024-06-18 01:56:19' WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (3.1ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 160ms (Views: 6.0ms | ActiveRecord: 39.2ms)  (0.9ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (56.2ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (26.1ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (23.1ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (33.4ms) TRUNCATE TABLE `fe_references`  (31.4ms) TRUNCATE TABLE `fe_users`  (25.8ms) TRUNCATE TABLE `phone_numbers`  (51.1ms) TRUNCATE TABLE `users`  (41.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:19', '2024-06-18 01:56:19')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 33', '2024-06-18 01:56:19', '2024-06-18 01:56:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:19.810492' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 113) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 113', 113, '2024-06-18 01:56:19', '2024-06-18 01:56:19')  (6.9ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:19', '2024-06-18 01:56:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 30', TRUE, '2024-06-18 01:56:19', '2024-06-18 01:56:19') Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (18.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:19', '2024-06-18 01:56:19') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:19' WHERE `fe_pages`.`id` = 1  (17.6ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (3.2ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (4.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (12.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (16.8ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (21.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (40.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (53.7ms) Completed 200 OK in 160ms (Views: 52.7ms | ActiveRecord: 24.2ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (98.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:20', '2024-06-18 01:56:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 34', '2024-06-18 01:56:20', '2024-06-18 01:56:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:20.658331' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 114) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 114', 114, '2024-06-18 01:56:20', '2024-06-18 01:56:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:20', '2024-06-18 01:56:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 31', TRUE, '2024-06-18 01:56:20', '2024-06-18 01:56:20') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:20', '2024-06-18 01:56:20') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (42.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (65.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (95.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (127.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (3.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (24.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (46.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (68.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (139.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (311.1ms) Completed 200 OK in 406ms (Views: 334.2ms | ActiveRecord: 18.2ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:21', '2024-06-18 01:56:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 35', '2024-06-18 01:56:21', '2024-06-18 01:56:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:21.586245' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 115) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 115', 115, '2024-06-18 01:56:21', '2024-06-18 01:56:21')  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:21', '2024-06-18 01:56:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 32', TRUE, '2024-06-18 01:56:21', '2024-06-18 01:56:21', TRUE) Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 32', TRUE, '2024-06-18 01:56:21', '2024-06-18 01:56:21', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:56:21', '2024-06-18 01:56:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.8ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (6.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (14.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.6ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (10.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (18.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (35.5ms) Completed 200 OK in 121ms (Views: 33.8ms | ActiveRecord: 30.9ms) Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (24.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 36', '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:22.216192' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 116) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 116', 116, '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 33', TRUE, '2024-06-18 01:56:22', '2024-06-18 01:56:22', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 34', TRUE, '2024-06-18 01:56:22', '2024-06-18 01:56:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:22', '2024-06-18 01:56:22') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:22' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:22', '2024-06-18 01:56:22') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:22' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.7ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (37.1ms) Completed 200 OK in 71ms (Views: 38.7ms | ActiveRecord: 4.9ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.8ms) TRUNCATE TABLE `fe_addresses`  (22.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 37', '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:22.879105' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 117) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 117', 117, '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:22', '2024-06-18 01:56:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 35', TRUE, '2024-06-18 01:56:22', '2024-06-18 01:56:22') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:22', '2024-06-18 01:56:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:22' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.7ms) Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (9.9ms) Completed 200 OK in 45ms (Views: 9.7ms | ActiveRecord: 10.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.1ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (25.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:23', '2024-06-18 01:56:23')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 38', '2024-06-18 01:56:23', '2024-06-18 01:56:23')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:23.471804' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 118) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 118', 118, '2024-06-18 01:56:23', '2024-06-18 01:56:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:23', '2024-06-18 01:56:23')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 36', TRUE, '2024-06-18 01:56:23', '2024-06-18 01:56:23') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:23', '2024-06-18 01:56:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:23' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.6ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.5ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (6989.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (6990.4ms) Completed 200 OK in 7021ms (Views: 6992.1ms | ActiveRecord: 7.4ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (42.3ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (24.9ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 39', '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:31.040660' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 119) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 119', 119, '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 37', TRUE, '2024-06-18 01:56:31', '2024-06-18 01:56:31') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:31', '2024-06-18 01:56:31') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.3ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:31.159299' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (6.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (4.8ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.3ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (11.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (17.4ms) Completed 200 OK in 111ms (Views: 19.2ms | ActiveRecord: 45.7ms) Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (29.5ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 40', '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:31.695757' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 120) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 120', 120, '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 38', TRUE, '2024-06-18 01:56:31', '2024-06-18 01:56:31') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:31', '2024-06-18 01:56:31') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:31' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:56:31', '2024-06-18 01:56:31')  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:31.825050' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.6ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.2ms) Completed 200 OK in 74ms (Views: 7.8ms | ActiveRecord: 30.3ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (22.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (35.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 41', '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:32.324954' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 121) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 121', 121, '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 42', '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.1ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:32.358799' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 122) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 122', 122, '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (7.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 39', TRUE, '2024-06-18 01:56:32', '2024-06-18 01:56:32') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:32', '2024-06-18 01:56:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:56:32', '2024-06-18 01:56:32') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:32' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:32.509554' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:32' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.7ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (5.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.2ms) Completed 200 OK in 79ms (Views: 7.7ms | ActiveRecord: 31.4ms) Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (27.8ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (26.3ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 43', '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:33.007964' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 123) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 123', 123, '2024-06-18 01:56:32', '2024-06-18 01:56:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:33', '2024-06-18 01:56:33')  (1.4ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (24.8ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (26.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 44', '2024-06-18 01:56:33', '2024-06-18 01:56:33')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:33.737592' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 124) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 124', 124, '2024-06-18 01:56:33', '2024-06-18 01:56:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (12.3ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (13.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:33', '2024-06-18 01:56:33', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.8ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.6ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:33', '2024-06-18 01:56:33') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:33' WHERE `fe_pages`.`id` = 1  (26.1ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (2.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:34' WHERE `fe_pages`.`id` = 1  (12.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:34', '2024-06-18 01:56:34')  (17.0ms) COMMIT Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.9ms) TRUNCATE TABLE `fe_addresses`  (27.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (43.5ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (45.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (25.3ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (30.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 45', '2024-06-18 01:56:34', '2024-06-18 01:56:34')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:34.642680' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 125) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 125', 125, '2024-06-18 01:56:34', '2024-06-18 01:56:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:34', '2024-06-18 01:56:34', TRUE) Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:34', '2024-06-18 01:56:34', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:34', '2024-06-18 01:56:34', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:34' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:34' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:34' WHERE `fe_pages`.`id` = 1  (2.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:34', '2024-06-18 01:56:34')  (1.4ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 01:56:34', '2024-06-18 01:56:34') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (26.4ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 46', '2024-06-18 01:56:35', '2024-06-18 01:56:35')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:35.415778' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 126) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 126', 126, '2024-06-18 01:56:35', '2024-06-18 01:56:35')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:35', '2024-06-18 01:56:35', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:35', '2024-06-18 01:56:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:35', '2024-06-18 01:56:35', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:35', '2024-06-18 01:56:35', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:35', '2024-06-18 01:56:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:35' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:35', '2024-06-18 01:56:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:35', '2024-06-18 01:56:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:35' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:35', '2024-06-18 01:56:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:35' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:35', '2024-06-18 01:56:35')  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.8ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 01:56:35', '2024-06-18 01:56:35')  (1.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'an updated response' WHERE `fe_answers`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 47', '2024-06-18 01:56:36', '2024-06-18 01:56:36')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:36.181469' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 127) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 127', 127, '2024-06-18 01:56:36', '2024-06-18 01:56:36')  (3.1ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:36', '2024-06-18 01:56:36', TRUE) Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:36', '2024-06-18 01:56:36') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:36', '2024-06-18 01:56:36', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:36', '2024-06-18 01:56:36', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:36', '2024-06-18 01:56:36') Fe::Page Load (3.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:36' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:36', '2024-06-18 01:56:36') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:36' WHERE `fe_pages`.`id` = 1  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:36', '2024-06-18 01:56:36') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:36' WHERE `fe_pages`.`id` = 1  (2.9ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:36', '2024-06-18 01:56:36') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:36' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:36', '2024-06-18 01:56:36')  (1.7ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, '', '2024-06-18 01:56:36', '2024-06-18 01:56:36')  (1.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) COMMIT  (2.7ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 48', '2024-06-18 01:56:36', '2024-06-18 01:56:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:36.972630' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 128) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 128', 128, '2024-06-18 01:56:36', '2024-06-18 01:56:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:36', '2024-06-18 01:56:36', TRUE) Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:37', '2024-06-18 01:56:37')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.7ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:37', '2024-06-18 01:56:37')  (1.7ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'choice 1', '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 49', '2024-06-18 01:56:37', '2024-06-18 01:56:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:37.804173' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 129) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 129', 129, '2024-06-18 01:56:37', '2024-06-18 01:56:37')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37', TRUE) Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 01:56:37', '2024-06-18 01:56:37', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:37', '2024-06-18 01:56:37') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:38', '2024-06-18 01:56:38') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:38' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:38', '2024-06-18 01:56:38')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.4ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2', `updated_at` = '2024-06-18 01:56:38' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 01:56:38', '2024-06-18 01:56:38')  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 2', '2024-06-18 01:56:38', '2024-06-18 01:56:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (27.9ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (25.5ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (27.5ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (45.1ms) TRUNCATE TABLE `fe_elements`  (45.7ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (22.7ms) TRUNCATE TABLE `fe_question_sheets`  (33.0ms) TRUNCATE TABLE `fe_references`  (24.1ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (47.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:39', '2024-06-18 01:56:39')  (1.7ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 77603f22-8e98-409b-a44f-5321f82b26e3) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.1ms) TRUNCATE TABLE `fe_addresses`  (25.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (39.5ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (24.2ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (38.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (26.6ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 50', '2024-06-18 01:56:39', '2024-06-18 01:56:39')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:39.962928' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 130) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 130', 130, '2024-06-18 01:56:39', '2024-06-18 01:56:39')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:39.990869' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 131) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 131', 131, '2024-06-18 01:56:39', '2024-06-18 01:56:39')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.015539' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 132) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 132', 132, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.041858' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 133) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 133', 133, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.067587' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 134) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 134', 134, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 40', TRUE, '2024-06-18 01:56:40', '2024-06-18 01:56:40') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:40' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:40', '2024-06-18 01:56:40') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:40' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:40' WHERE `fe_pages`.`id` = 1  (12.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 41', TRUE, '2024-06-18 01:56:40', '2024-06-18 01:56:40') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:40' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (12.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:40', '2024-06-18 01:56:40') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:40' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 51', '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.333893' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 135) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 135', 135, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.358932' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 136) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 136', 136, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.384072' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 137) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 137', 137, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.409765' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 138) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 138', 138, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:40.445373' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 139) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 139', 139, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:56:40', '2024-06-18 01:56:40')  (1.7ms) COMMIT  (0.8ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 42', TRUE, '2024-06-18 01:56:40', '2024-06-18 01:56:40') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (2.8ms) COMMIT  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (25.8ms) TRUNCATE TABLE `fe_page_elements`  (25.1ms) TRUNCATE TABLE `fe_pages`  (25.0ms) TRUNCATE TABLE `fe_people`  (23.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (25.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (27.6ms) TRUNCATE TABLE `fe_email_templates`  (28.4ms) TRUNCATE TABLE `fe_page_elements`  (24.1ms) TRUNCATE TABLE `fe_pages`  (23.3ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (23.6ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (8.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 52', '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (4.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:41.434459' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 140) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 140', 140, '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:41.463466' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 141) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 141', 141, '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:41.488621' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 142) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 142', 142, '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (11.4ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:41.524015' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 143) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 143', 143, '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (13.9ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:41.564677' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 144) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 144', 144, '2024-06-18 01:56:41', '2024-06-18 01:56:41')  (11.8ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:41', '2024-06-18 01:56:41', 5, 'Fe::Page') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (12.9ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:41', '2024-06-18 01:56:41') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:41' WHERE `fe_pages`.`id` = 4  (12.1ms) COMMIT Fe::ChoiceField Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (49.1ms) TRUNCATE TABLE `fe_addresses`  (29.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (26.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 53', '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:42.177486' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 145) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 145', 145, '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:42.204540' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 146) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 146', 146, '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:42.228706' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 147) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 147', 147, '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:42.252467' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 148) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 148', 148, '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:42.276450' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 149) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 149', 149, '2024-06-18 01:56:42', '2024-06-18 01:56:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (11.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:42', '2024-06-18 01:56:42', 'Fe::Element') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (12.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:42', '2024-06-18 01:56:42') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:42' WHERE `fe_pages`.`id` = 4  (12.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved', TRUE, '2024-06-18 01:56:42', '2024-06-18 01:56:42') Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:56:42', '2024-06-18 01:56:42') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.8ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:42' WHERE `fe_pages`.`id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved to become hidden', TRUE, '2024-06-18 01:56:42', '2024-06-18 01:56:42') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 3, 3, '2024-06-18 01:56:42', '2024-06-18 01:56:42') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:42' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Update (1.2ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:56:42.641801' WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:42' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 1  (2.1ms) COMMIT Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (38.9ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (36.6ms) TRUNCATE TABLE `fe_page_elements`  (25.0ms) TRUNCATE TABLE `fe_pages`  (25.1ms) TRUNCATE TABLE `fe_people`  (26.5ms) TRUNCATE TABLE `fe_question_sheets`  (53.5ms) TRUNCATE TABLE `fe_references`  (37.8ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (39.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) BEGIN Fe::QuestionSheet Create (6.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 54', '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (2.3ms) COMMIT  (0.8ms) BEGIN Fe::Page Update All (4.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:43.345826' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 150) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 150', 150, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (2.2ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:43.393039' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 151) Fe::Page Create (1.5ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 151', 151, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:43.423236' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 152) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 152', 152, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:43.452314' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 153) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 153', 153, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:43.481325' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 154) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 154', 154, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.4ms) COMMIT  (2.5ms) BEGIN Fe::ChoiceField Create (9.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the enclosed element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:43', '2024-06-18 01:56:43', 'Fe::Element') Fe::Page Load (6.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (2.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:43', '2024-06-18 01:56:43') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (2.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:43' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the enclosing element', TRUE, '2024-06-18 01:56:43', '2024-06-18 01:56:43', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:56:43', '2024-06-18 01:56:43') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (6.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.0ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:43' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.4ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:56:43', '2024-06-18 01:56:43')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (46.3ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (36.5ms) TRUNCATE TABLE `fe_people`  (35.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (26.3ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (26.7ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 55', '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:44.432119' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 155) Fe::Page Create (1.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 155', 155, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:44.465103' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 156) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 156', 156, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:44.492103' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 157) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 157', 157, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:44.516678' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 158) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 158', 158, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:44.541526' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 159) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 159', 159, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.8ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:44', '2024-06-18 01:56:44', 5, 'Fe::Page', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:44', '2024-06-18 01:56:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:44' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 01:56:44', '2024-06-18 01:56:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 01:56:44', '2024-06-18 01:56:44') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:44' WHERE `fe_pages`.`id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:44', '2024-06-18 01:56:44')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.4ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:56:44', '2024-06-18 01:56:44')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.6ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (34.0ms) TRUNCATE TABLE `fe_conditions`  (58.1ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (25.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (25.5ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 56', '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:45.761890' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 160) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 160', 160, '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:45.788385' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 161) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 161', 161, '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (2.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:45.814254' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 162) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 162', 162, '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:45.838609' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 163) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 163', 163, '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:45.862548' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 164) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 164', 164, '2024-06-18 01:56:45', '2024-06-18 01:56:45')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:45', '2024-06-18 01:56:45', 5, 'Fe::Page') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:45', '2024-06-18 01:56:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:45' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 1  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 2 WHERE `fe_pages`.`id` = 2  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 2)  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 3 WHERE `fe_pages`.`id` = 3  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 3)  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 4  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1) Fe::Page Update All (1.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:46.016492' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 4) AND (`fe_pages`.`number` >= 1) AND (`fe_pages`.`number` < 163)  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 4, `updated_at` = '2024-06-18 01:56:46' WHERE `fe_pages`.`id` = 5  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 4) Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:46.044188' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 5) AND (`fe_pages`.`number` >= 4) AND (`fe_pages`.`number` < 164)  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.0ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (23.6ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.8ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (44.6ms) TRUNCATE TABLE `fe_pages`  (24.4ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 57', '2024-06-18 01:56:46', '2024-06-18 01:56:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:46.943774' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 165) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 165', 165, '2024-06-18 01:56:46', '2024-06-18 01:56:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:46.970519' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 166) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 166', 166, '2024-06-18 01:56:46', '2024-06-18 01:56:46')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:46.994236' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 167) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 167', 167, '2024-06-18 01:56:46', '2024-06-18 01:56:46')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:47.018392' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 168) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 168', 168, '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:47.042219' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 169) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 169', 169, '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL1', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:47', '2024-06-18 01:56:47') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:47', '2024-06-18 01:56:47') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:47' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL2', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:47', '2024-06-18 01:56:47', 1) Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'LVL3 (GRID)', TRUE, '2024-06-18 01:56:47', '2024-06-18 01:56:47', 2) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::ChoiceField', 'yes-no', 'LVL4', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:47', '2024-06-18 01:56:47') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.8ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'EL (LVL5)', TRUE, '2024-06-18 01:56:47', '2024-06-18 01:56:47', 4) Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.6ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'yes', '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (2.1ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 4, 'yes', '2024-06-18 01:56:47', '2024-06-18 01:56:47')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 2  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (52.7ms) TRUNCATE TABLE `fe_conditions`  (52.8ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (26.4ms) TRUNCATE TABLE `fe_page_elements`  (27.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (26.6ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (34.7ms) TRUNCATE TABLE `fe_references`  (25.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 58', '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:48.644551' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 170) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 170', 170, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:48.670284' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 171) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 171', 171, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:48.694101' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 172) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 172', 172, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:48.718388' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 173) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 173', 173, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:48.741995' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 174) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 174', 174, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:48', '2024-06-18 01:56:48', 5, 'Fe::Page', 'yes') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:48', '2024-06-18 01:56:48') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:48' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 01:56:48', '2024-06-18 01:56:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 01:56:48', '2024-06-18 01:56:48') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:48' WHERE `fe_pages`.`id` = 5  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:56:48', '2024-06-18 01:56:48')  (1.3ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (2.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'no', `updated_at` = '2024-06-18 01:56:49' WHERE `fe_answers`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (29.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (35.2ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (25.4ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (25.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (26.0ms) TRUNCATE TABLE `users`  (27.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (26.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (38.2ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (28.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (26.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (34.7ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (39.1ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (27.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (35.9ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (26.3ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 59', '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:51.245381' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 175) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 175', 175, '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:51.273393' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 176) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 176', 176, '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:51.297679' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 177) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 177', 177, '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:51.322451' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 178) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 178', 178, '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:51.346429' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 179) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 179', 179, '2024-06-18 01:56:51', '2024-06-18 01:56:51')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:51', '2024-06-18 01:56:51', 'Fe::Element') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:56:51', '2024-06-18 01:56:51') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:51' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:56:51', '2024-06-18 01:56:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:56:51', '2024-06-18 01:56:51') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (3.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:51' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (26.8ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (26.1ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (28.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 43', TRUE, '2024-06-18 01:56:51', '2024-06-18 01:56:51', '---\nfr: \'\'\n', '---\nfr: \'\'\n', '---\nfr: \'\'\n') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (19.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 44', TRUE, '2024-06-18 01:56:52', '2024-06-18 01:56:52', '---\nfr: fr label\n', '---\nfr: fr tip\n', '---\nfr: fr content\n') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (24.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (23.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::ChoiceField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `content_translations`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 45', '1\r\n2', TRUE, '2024-06-18 01:56:52', '2024-06-18 01:56:52', '---\nfr: \'\'\n') Fe::Page Load (8.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (34.7ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (24.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (10.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 46', TRUE, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::Page Load (8.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 47', TRUE, 0, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 48', TRUE, 1, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 60', '2024-06-18 01:56:53', '2024-06-18 01:56:53')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:53.420631' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 180) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 180', 180, '2024-06-18 01:56:53', '2024-06-18 01:56:53')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:53' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (1.0ms) SELECT MAX(`fe_elements`.`position`) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.6ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 48', TRUE, 2, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.3ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (24.1ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (36.2ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 49', TRUE, '2024-06-18 01:56:53', '2024-06-18 01:56:53') Fe::Page Load (13.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 50', TRUE, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 51', TRUE, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 61', '2024-06-18 01:56:54', '2024-06-18 01:56:54')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:54.077099' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 181) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 181', 181, '2024-06-18 01:56:54', '2024-06-18 01:56:54')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:54' WHERE `fe_pages`.`id` = 1  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:54' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:54' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 51', TRUE, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 01:56:54', '2024-06-18 01:56:54') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:54' WHERE `fe_pages`.`id` = 1  (1.2ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (2.0ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (22.9ms) TRUNCATE TABLE `fe_question_sheets`  (32.5ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (26.7ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 52', TRUE, TRUE, '2024-06-18 01:56:54', '2024-06-18 01:56:54', TRUE) Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (30.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 53', TRUE, TRUE, '2024-06-18 01:56:55', '2024-06-18 01:56:55', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 54', TRUE, TRUE, '2024-06-18 01:56:55', '2024-06-18 01:56:55', TRUE) Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (34.6ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 55', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (7.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 1, 'Fe::Element', 'yes') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 56', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 57', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 58', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (0.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.3ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 7 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 8  (2.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (47.2ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (33.8ms) TRUNCATE TABLE `fe_conditions`  (59.3ms) TRUNCATE TABLE `fe_elements`  (38.4ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (28.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionGrid Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 59', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (8.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 60', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 61', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 4) Fe::ChoiceField Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (0.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 62', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:56' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:56', '2024-06-18 01:56:56', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.3ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (47.8ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (29.1ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (22.8ms) TRUNCATE TABLE `users`  (26.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (10.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 63', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57') Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (0.9ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 64', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57') Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:57' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 65', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57', 4) Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:57' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 66', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:57' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.3ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid conditional visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:57', '2024-06-18 01:56:57', 2, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (5.2ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 9  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (49.4ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (23.6ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (19.6ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionGrid Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 67', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 68', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:58' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 69', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58', 4) Fe::ChoiceField Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:58' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (0.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 70', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:56:58' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 4 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 6  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (43.6ms) TRUNCATE TABLE `fe_addresses`  (26.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (38.6ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (21.7ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (23.2ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:58', '2024-06-18 01:56:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:56:58', '2024-06-18 01:56:58')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 71', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::Page Load (7.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 72', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58', 'test') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 73', TRUE, '2024-06-18 01:56:58', '2024-06-18 01:56:58') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3, `conditional_type` = 'Fe::Element' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 62', '2024-06-18 01:56:58', '2024-06-18 01:56:58')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:56:59.013636' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 182) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 182', 182, '2024-06-18 01:56:58', '2024-06-18 01:56:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:56:59', '2024-06-18 01:56:59') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:59' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:56:59', '2024-06-18 01:56:59') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL, `updated_at` = '2024-06-18 01:56:59' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:59' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:56:59', '2024-06-18 01:56:59') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:56:59' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (1.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:56:59', '2024-06-18 01:56:59')  (2.5ms) COMMIT  (0.7ms) BEGIN Fe::AnswerSheetQuestionSheet Create (6.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 01:56:59', '2024-06-18 01:56:59')  (1.9ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.2ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.4ms) COMMIT Fe::Answer Load (5.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'nomatch', '2024-06-18 01:56:59', '2024-06-18 01:56:59')  (1.2ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.5ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (37.6ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (24.0ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.4ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `css_class`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 74', TRUE, 'a 1 2', '2024-06-18 01:56:59', '2024-06-18 01:56:59') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.8ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (22.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (10.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 75', TRUE, '2024-06-18 01:57:00', '2024-06-18 01:57:00') Fe::Page Load (6.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (28.4ms) TRUNCATE TABLE `fe_applications`  (36.2ms) TRUNCATE TABLE `fe_conditions`  (65.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (23.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 76', TRUE, '2024-06-18 01:57:00', '2024-06-18 01:57:00') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:57:00' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 77', TRUE, '2024-06-18 01:57:00', '2024-06-18 01:57:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 78', TRUE, '2024-06-18 01:57:00', '2024-06-18 01:57:00') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT Fe::Question Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::Question', 'Fe::ChoiceField', 'Fe::DateField', 'Fe::TextField', 'Fe::ReferenceQuestion', 'Fe::AttachmentField', 'Fe::StateChooser') AND `fe_elements`.`id` IN (2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (35.3ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (21.2ms) TRUNCATE TABLE `fe_page_elements`  (19.6ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.7ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 63', '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.160727' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 183) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 183', 183, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.190090' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 184) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 184', 184, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.215807' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 185) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 185', 185, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.239831' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 186) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 186', 186, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.265368' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 187) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 187', 187, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 79', TRUE, '2024-06-18 01:57:01', '2024-06-18 01:57:01') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:57:01', '2024-06-18 01:57:01') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:01' WHERE `fe_pages`.`id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:01', '2024-06-18 01:57:01', 'Fe::Element') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:57:01', '2024-06-18 01:57:01') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 64', '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.913754' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 188) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 188', 188, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.940847' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 189) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 189', 189, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.965698' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 190) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 190', 190, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:01.992050' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 191) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 191', 191, '2024-06-18 01:57:01', '2024-06-18 01:57:01')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.023796' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 192) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 192', 192, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 80', TRUE, '2024-06-18 01:57:02', '2024-06-18 01:57:02') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (3.4ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:57:02', '2024-06-18 01:57:02') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:02' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:02', '2024-06-18 01:57:02', 'Fe::Element') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 01:57:02', '2024-06-18 01:57:02') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (3.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 81', TRUE, TRUE, '2024-06-18 01:57:02', '2024-06-18 01:57:02', TRUE) Fe::Page Load (7.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 82', TRUE, TRUE, '2024-06-18 01:57:02', '2024-06-18 01:57:02', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.3ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 65', '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.874814' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 193) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 193', 193, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.900860' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 194) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 194', 194, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.928683' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 195) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 195', 195, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.956285' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 196) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 196', 196, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:02.986801' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 197) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 197', 197, '2024-06-18 01:57:02', '2024-06-18 01:57:02')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (4.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 66', '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.044781' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 198) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 198', 198, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (3.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.074348' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 199) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 199', 199, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.106726' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 200) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 200', 200, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.137558' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 201) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 201', 201, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.2ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.169514' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 202) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 202', 202, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.2ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (2.9ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:57:03', '2024-06-18 01:57:03') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:03' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:57:03', '2024-06-18 01:57:03') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:03' WHERE `fe_pages`.`id` = 6  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 67', '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.378359' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 203) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 203', 203, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.4ms) COMMIT Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.3ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (40.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (19.8ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::TextField Create (10.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 83', TRUE, TRUE, '2024-06-18 01:57:03', '2024-06-18 01:57:03', TRUE) Fe::Page Load (8.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 84', TRUE, TRUE, '2024-06-18 01:57:03', '2024-06-18 01:57:03', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.4ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.4ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 68', '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.914194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 204) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 204', 204, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.939210' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 205) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 205', 205, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.963474' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 206) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 206', 206, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:03.991272' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 207) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 207', 207, '2024-06-18 01:57:03', '2024-06-18 01:57:03')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.015847' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 208) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 208', 208, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 69', '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.063123' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 209) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 209', 209, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.088296' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 210) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 210', 210, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.111307' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 211) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 211', 211, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.134500' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 212) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 212', 212, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.164419' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 213) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 213', 213, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:57:04', '2024-06-18 01:57:04') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:04' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:57:04', '2024-06-18 01:57:04') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:04' WHERE `fe_pages`.`id` = 6  (1.6ms) COMMIT Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (27.3ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (27.5ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 85', TRUE, TRUE, '2024-06-18 01:57:04', '2024-06-18 01:57:04', TRUE) Fe::Page Load (6.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 86', TRUE, TRUE, '2024-06-18 01:57:04', '2024-06-18 01:57:04', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.5ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.2ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 70', '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.877958' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 214) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 214', 214, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.901734' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 215) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 215', 215, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.924996' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 216) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 216', 216, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.948875' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 217) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 217', 217, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:04.972166' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 218) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 218', 218, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 71', '2024-06-18 01:57:04', '2024-06-18 01:57:04')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.017833' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 219) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 219', 219, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.041039' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 220) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 220', 220, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.064493' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 221) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 221', 221, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.089048' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 222) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 222', 222, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.112866' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 223) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 223', 223, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:57:05', '2024-06-18 01:57:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:05' WHERE `fe_pages`.`id` = 6  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:57:05', '2024-06-18 01:57:05') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:05' WHERE `fe_pages`.`id` = 6  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 72', '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.264844' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 224) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 224', 224, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.288419' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 225) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 225', 225, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.314347' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 226) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 226', 226, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.338742' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 227) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 227', 227, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.363478' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 228) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 228', 228, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (24.6ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 87', TRUE, TRUE, '2024-06-18 01:57:05', '2024-06-18 01:57:05', TRUE) Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 88', TRUE, TRUE, '2024-06-18 01:57:05', '2024-06-18 01:57:05', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.4ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 73', '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.930438' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 229) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 229', 229, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.956663' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 230) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 230', 230, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:05.986203' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 231) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 231', 231, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.010738' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 232) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 232', 232, '2024-06-18 01:57:05', '2024-06-18 01:57:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.034893' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 233) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 233', 233, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 74', '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.088588' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 234) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 234', 234, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.111717' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 235) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 235', 235, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.135043' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 236) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 236', 236, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.158644' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 237) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 237', 237, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.183503' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 238) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 238', 238, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.8ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:57:06', '2024-06-18 01:57:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:06' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 01:57:06', '2024-06-18 01:57:06') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (3.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:06' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'match', `updated_at` = '2024-06-18 01:57:06' WHERE `fe_answers`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (68.3ms) TRUNCATE TABLE `fe_addresses`  (26.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (26.5ms) TRUNCATE TABLE `fe_applications`  (39.3ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (33.1ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 75', '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:06.879414' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 239) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 239', 239, '2024-06-18 01:57:06', '2024-06-18 01:57:06')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 89', TRUE, '2024-06-18 01:57:06', '2024-06-18 01:57:06') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:06', '2024-06-18 01:57:06') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:06' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 90', TRUE, '2024-06-18 01:57:06', '2024-06-18 01:57:06') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.3ms) COMMIT Fe::Page Update (1.8ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (37.2ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (26.2ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 91', TRUE, '2024-06-18 01:57:07', '2024-06-18 01:57:07') Fe::Page Load (8.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 76', '2024-06-18 01:57:07', '2024-06-18 01:57:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:07.533172' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 240) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 240', 240, '2024-06-18 01:57:07', '2024-06-18 01:57:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 77', '2024-06-18 01:57:07', '2024-06-18 01:57:07')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:07.565834' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 241) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 241', 241, '2024-06-18 01:57:07', '2024-06-18 01:57:07')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:07', '2024-06-18 01:57:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:07' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:57:07', '2024-06-18 01:57:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:07' WHERE `fe_pages`.`id` = 2  (1.8ms) COMMIT Fe::Page Update (2.5ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Update (2.7ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (34.1ms) TRUNCATE TABLE `fe_conditions`  (37.5ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 78', '2024-06-18 01:57:08', '2024-06-18 01:57:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:08.152801' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 242) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 242', 242, '2024-06-18 01:57:08', '2024-06-18 01:57:08')  (1.9ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 92', TRUE, '2024-06-18 01:57:08', '2024-06-18 01:57:08') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:08', '2024-06-18 01:57:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:08' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 93', TRUE, '2024-06-18 01:57:08', '2024-06-18 01:57:08') Fe::QuestionGridWithTotal Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::Page Update (1.8ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (3.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (37.2ms) TRUNCATE TABLE `fe_addresses`  (29.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (41.0ms) TRUNCATE TABLE `fe_conditions`  (39.7ms) TRUNCATE TABLE `fe_elements`  (25.5ms) TRUNCATE TABLE `fe_email_templates`  (29.7ms) TRUNCATE TABLE `fe_page_elements`  (28.7ms) TRUNCATE TABLE `fe_pages`  (28.4ms) TRUNCATE TABLE `fe_people`  (25.5ms) TRUNCATE TABLE `fe_question_sheets`  (38.4ms) TRUNCATE TABLE `fe_references`  (24.6ms) TRUNCATE TABLE `fe_users`  (26.9ms) TRUNCATE TABLE `phone_numbers`  (23.4ms) TRUNCATE TABLE `users`  (42.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (10.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 94', TRUE, TRUE, '2024-06-18 01:57:08', '2024-06-18 01:57:08', TRUE) Fe::Page Load (8.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:08', '2024-06-18 01:57:08')  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (28.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.2ms) TRUNCATE TABLE `fe_answers`  (28.5ms) TRUNCATE TABLE `fe_applications`  (38.4ms) TRUNCATE TABLE `fe_conditions`  (47.5ms) TRUNCATE TABLE `fe_elements`  (28.2ms) TRUNCATE TABLE `fe_email_templates`  (30.8ms) TRUNCATE TABLE `fe_page_elements`  (31.7ms) TRUNCATE TABLE `fe_pages`  (28.9ms) TRUNCATE TABLE `fe_people`  (28.2ms) TRUNCATE TABLE `fe_question_sheets`  (40.1ms) TRUNCATE TABLE `fe_references`  (29.9ms) TRUNCATE TABLE `fe_users`  (28.1ms) TRUNCATE TABLE `phone_numbers`  (24.5ms) TRUNCATE TABLE `users`  (28.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:09', '2024-06-18 01:57:09')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:09', '2024-06-18 01:57:09')  (1.8ms) COMMIT Fe::Person Load (1.4ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.0ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (41.5ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (26.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (25.2ms) TRUNCATE TABLE `fe_question_sheets`  (33.7ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:09', '2024-06-18 01:57:09')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:09', '2024-06-18 01:57:09')  (1.4ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (32.1ms) TRUNCATE TABLE `fe_addresses`  (25.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (26.6ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (39.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (19.8ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (22.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:10', '2024-06-18 01:57:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:10', '2024-06-18 01:57:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 95', TRUE, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 96', TRUE, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 97', TRUE, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 79', '2024-06-18 01:57:10', '2024-06-18 01:57:10')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:10.464383' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 243) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 243', 243, '2024-06-18 01:57:10', '2024-06-18 01:57:10')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:10' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:10' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:57:10', '2024-06-18 01:57:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:10' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.3ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (35.4ms) TRUNCATE TABLE `fe_conditions`  (40.3ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (23.4ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.4ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (38.6ms) TRUNCATE TABLE `fe_applications`  (39.2ms) TRUNCATE TABLE `fe_conditions`  (61.9ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (39.4ms) TRUNCATE TABLE `fe_page_elements`  (40.5ms) TRUNCATE TABLE `fe_pages`  (32.9ms) TRUNCATE TABLE `fe_people`  (30.9ms) TRUNCATE TABLE `fe_question_sheets`  (40.4ms) TRUNCATE TABLE `fe_references`  (26.8ms) TRUNCATE TABLE `fe_users`  (36.1ms) TRUNCATE TABLE `phone_numbers`  (29.6ms) TRUNCATE TABLE `users`  (27.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (2.7ms) SELECT COUNT(*) FROM `fe_email_templates` Processing by Fe::Admin::EmailTemplatesController#create as HTML Parameters: {"email_template"=>{"content"=>"Content", "name"=>"Name", "subject"=>"Subject"}}  (0.5ms) BEGIN Fe::EmailTemplate Create (1.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `subject`, `created_at`, `updated_at`) VALUES ('Name', 'Content', 'Subject', '2024-06-18 01:57:11', '2024-06-18 01:57:11')  (1.5ms) COMMIT Redirected to http://test.host/fe/admin/email_templates Completed 302 Found in 44ms (ActiveRecord: 8.3ms)  (2.7ms) SELECT COUNT(*) FROM `fe_email_templates`  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (35.8ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (27.3ms) TRUNCATE TABLE `phone_numbers`  (23.9ms) TRUNCATE TABLE `users`  (39.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1 Processing by Fe::Admin::EmailTemplatesController#new as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin Rendered /Users/andrew/Development/fe/app/views/layouts/fe/_error_messages_for.html.erb (1.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/_form.html.erb (5.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin (17.2ms) Completed 200 OK in 26ms (Views: 22.1ms | ActiveRecord: 0.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (41.7ms) TRUNCATE TABLE `fe_addresses`  (31.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_answers`  (28.5ms) TRUNCATE TABLE `fe_applications`  (39.9ms) TRUNCATE TABLE `fe_conditions`  (39.8ms) TRUNCATE TABLE `fe_elements`  (23.9ms) TRUNCATE TABLE `fe_email_templates`  (29.9ms) TRUNCATE TABLE `fe_page_elements`  (25.7ms) TRUNCATE TABLE `fe_pages`  (25.3ms) TRUNCATE TABLE `fe_people`  (23.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.2ms) TRUNCATE TABLE `fe_references`  (23.4ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (27.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (5.0ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Template', '2024-06-18 01:57:12', '2024-06-18 01:57:12')  (1.5ms) COMMIT Processing by Fe::Admin::EmailTemplatesController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` ORDER BY name Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin (5.9ms) Completed 200 OK in 12ms (Views: 6.5ms | ActiveRecord: 1.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (30.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (34.7ms) TRUNCATE TABLE `fe_conditions`  (48.7ms) TRUNCATE TABLE `fe_elements`  (47.6ms) TRUNCATE TABLE `fe_email_templates`  (36.1ms) TRUNCATE TABLE `fe_page_elements`  (37.5ms) TRUNCATE TABLE `fe_pages`  (43.7ms) TRUNCATE TABLE `fe_people`  (54.3ms) TRUNCATE TABLE `fe_question_sheets`  (63.2ms) TRUNCATE TABLE `fe_references`  (39.5ms) TRUNCATE TABLE `fe_users`  (36.2ms) TRUNCATE TABLE `phone_numbers`  (34.3ms) TRUNCATE TABLE `users`  (37.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (36.1ms) TRUNCATE TABLE `fe_addresses`  (42.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (34.5ms) TRUNCATE TABLE `fe_answers`  (43.0ms) TRUNCATE TABLE `fe_applications`  (42.6ms) TRUNCATE TABLE `fe_conditions`  (55.5ms) TRUNCATE TABLE `fe_elements`  (26.3ms) TRUNCATE TABLE `fe_email_templates`  (28.8ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (23.9ms) TRUNCATE TABLE `users`  (30.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (61.2ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (27.9ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (24.8ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (29.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (24.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (30.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (58.0ms) TRUNCATE TABLE `fe_answers`  (45.4ms) TRUNCATE TABLE `fe_applications`  (60.3ms) TRUNCATE TABLE `fe_conditions`  (62.5ms) TRUNCATE TABLE `fe_elements`  (31.6ms) TRUNCATE TABLE `fe_email_templates`  (25.9ms) TRUNCATE TABLE `fe_page_elements`  (24.2ms) TRUNCATE TABLE `fe_pages`  (23.8ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (32.4ms) TRUNCATE TABLE `fe_references`  (24.6ms) TRUNCATE TABLE `fe_users`  (41.5ms) TRUNCATE TABLE `phone_numbers`  (48.0ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (29.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (24.4ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (26.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (39.2ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (52.4ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (28.7ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (24.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (25.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (40.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (28.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (84.9ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (24.0ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.4ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (25.1ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (30.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (37.7ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (26.8ms) TRUNCATE TABLE `fe_page_elements`  (25.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (25.1ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (24.2ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 80', '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (2.2ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 98', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:19', '2024-06-18 01:57:19', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 81', '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:19.649494' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 244) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 244', 244, '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 244) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:19.666042' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 244) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:19', '2024-06-18 01:57:19') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:19' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:57:19', '2024-06-18 01:57:19')  (1.6ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (49.7ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (27.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 82', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 99', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:20', '2024-06-18 01:57:20', '') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 83', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:20.284671' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 245) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 245', 245, '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 245) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:20.301470' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 245) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:20', '2024-06-18 01:57:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 84', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 100', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:20', '2024-06-18 01:57:20', 'a; b\n') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 85', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:20.860541' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 246) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 246', 246, '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 246) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:20.877514' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 246) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:20', '2024-06-18 01:57:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:20' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 01:57:20', '2024-06-18 01:57:20')  (1.6ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (33.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 86', '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (7.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 101', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:21', '2024-06-18 01:57:21', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 87', '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:21.470339' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 247) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 247', 247, '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 247) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:21.487170' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 247) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (3.8ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:21', '2024-06-18 01:57:21') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:21' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (4.7ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 01:57:21', '2024-06-18 01:57:21')  (1.4ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (33.2ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (37.1ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (51.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (34.6ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 88', '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:23.305594' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 248) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 248', 248, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:23.333669' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 249) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 249', 249, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:23.358060' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 250) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 250', 250, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:23.381724' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 251) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 251', 251, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:23.405391' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 252) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 252', 252, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will show the next element if the answer is yes', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:57:23', '2024-06-18 01:57:23', 'Fe::Element', 'yes') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:57:23', '2024-06-18 01:57:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:23' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that is made visible by the previous element', TRUE, '2024-06-18 01:57:23', '2024-06-18 01:57:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:57:23', '2024-06-18 01:57:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:23' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.2ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:57:23', '2024-06-18 01:57:23')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'yes' WHERE `fe_answers`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.1ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (38.7ms) TRUNCATE TABLE `fe_elements`  (31.8ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.7ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (25.1ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (52.0ms) TRUNCATE TABLE `fe_conditions`  (50.1ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (28.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 89', '2024-06-18 01:57:26', '2024-06-18 01:57:26')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:26.697497' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 253) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 253', 253, '2024-06-18 01:57:26', '2024-06-18 01:57:26')  (1.7ms) COMMIT  (0.9ms) BEGIN Fe::QuestionGridWithTotal Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGridWithTotal', 'grid', 'Label Element 102', TRUE, '2024-06-18 01:57:26', '2024-06-18 01:57:26') Fe::Page Load (6.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 01:57:26.977031' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 1) Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:26', '2024-06-18 01:57:26') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (3.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:26' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 103', TRUE, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (3.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 104', TRUE, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 01:57:27.147052' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 2) Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:27' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 105', TRUE, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 90', '2024-06-18 01:57:27', '2024-06-18 01:57:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:27.939332' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 254) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 254', 254, '2024-06-18 01:57:27', '2024-06-18 01:57:27')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 106', TRUE, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 107', TRUE, '2024-06-18 01:57:27', '2024-06-18 01:57:27', 1, 'Fe::Element', 'asdf') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:57:27', '2024-06-18 01:57:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `updated_at` = '2024-06-18 01:57:28', `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:28' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:57:28', '2024-06-18 01:57:28') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:28' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGridWithTotal Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::QuestionGridWithTotal', 'grid', 'Label Element 108', TRUE, '2024-06-18 01:57:28', '2024-06-18 01:57:28') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'short', 'Label Element 109', TRUE, '2024-06-18 01:57:28', '2024-06-18 01:57:28') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:28', '2024-06-18 01:57:28')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:28', '2024-06-18 01:57:28')  (1.8ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'asdf', '2024-06-18 01:57:28', '2024-06-18 01:57:28')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'something else' WHERE `fe_answers`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.6ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (21.7ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 91', '2024-06-18 01:57:28', '2024-06-18 01:57:28')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:28.963644' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 255) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 255', 255, '2024-06-18 01:57:28', '2024-06-18 01:57:28')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 110', TRUE, '2024-06-18 01:57:28', '2024-06-18 01:57:28') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:29', '2024-06-18 01:57:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:29' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 111', TRUE, '2024-06-18 01:57:29', '2024-06-18 01:57:29') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 112', TRUE, '2024-06-18 01:57:29', '2024-06-18 01:57:29') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:57:29', '2024-06-18 01:57:29') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:29' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.4ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 113', TRUE, '2024-06-18 01:57:29', '2024-06-18 01:57:29') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 92', '2024-06-18 01:57:29', '2024-06-18 01:57:29')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:29.680504' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 256) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 256', 256, TRUE, '2024-06-18 01:57:29', '2024-06-18 01:57:29')  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 93', '2024-06-18 01:57:30', '2024-06-18 01:57:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:30.123198' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 257) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 257', 257, '2024-06-18 01:57:30', '2024-06-18 01:57:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::Section', 'section', 'Label Element 114', TRUE, '2024-06-18 01:57:30', '2024-06-18 01:57:30') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:30', '2024-06-18 01:57:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (38.2ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (66.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (28.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 94', '2024-06-18 01:57:30', '2024-06-18 01:57:30')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:30.694048' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 258) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 258', 258, '2024-06-18 01:57:30', '2024-06-18 01:57:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 115', TRUE, '2024-06-18 01:57:30', '2024-06-18 01:57:30') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:30', '2024-06-18 01:57:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (25.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (28.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 95', '2024-06-18 01:57:31', '2024-06-18 01:57:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:31.209295' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 259) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 259', 259, '2024-06-18 01:57:31', '2024-06-18 01:57:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 116', TRUE, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 117', TRUE, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 118', TRUE, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 96', '2024-06-18 01:57:31', '2024-06-18 01:57:31')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:31.819461' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 260) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 260', 260, '2024-06-18 01:57:31', '2024-06-18 01:57:31')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 119', TRUE, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:31' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 120', TRUE, '2024-06-18 01:57:31', '2024-06-18 01:57:31') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 97', '2024-06-18 01:57:32', '2024-06-18 01:57:32')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:32.377333' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 261) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (1, 'Label Page 261', 261, '2024-06-18 01:57:32', '2024-06-18 01:57:32', '2,1')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 121', TRUE, '2024-06-18 01:57:32', '2024-06-18 01:57:32') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 122', TRUE, '2024-06-18 01:57:32', '2024-06-18 01:57:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 98', '2024-06-18 01:57:32', '2024-06-18 01:57:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:32.872641' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 262) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 262', 262, '2024-06-18 01:57:32', '2024-06-18 01:57:32')  (1.8ms) COMMIT Fe::Element Load (11.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 99', '2024-06-18 01:57:33', '2024-06-18 01:57:33')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:33.340926' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 263) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 263', 263, '2024-06-18 01:57:33', '2024-06-18 01:57:33')  (1.5ms) COMMIT Fe::Element Load (11.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (29.6ms) TRUNCATE TABLE `fe_conditions`  (32.5ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 100', '2024-06-18 01:57:33', '2024-06-18 01:57:33')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:33.802103' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 264) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 264', 264, '2024-06-18 01:57:33', '2024-06-18 01:57:33')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 123', TRUE, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:33' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 124', TRUE, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 125', TRUE, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:33' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 126', TRUE, '2024-06-18 01:57:33', '2024-06-18 01:57:33') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.3ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (28.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (22.8ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 101', '2024-06-18 01:57:34', '2024-06-18 01:57:34')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:34.479352' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 265) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 265', 265, '2024-06-18 01:57:34', '2024-06-18 01:57:34')  (1.5ms) COMMIT Fe::Element Load (11.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (30.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 102', '2024-06-18 01:57:34', '2024-06-18 01:57:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:34.950253' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 266) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 266', 266, '2024-06-18 01:57:34', '2024-06-18 01:57:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 127', TRUE, '2024-06-18 01:57:34', '2024-06-18 01:57:34') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:34', '2024-06-18 01:57:34') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:34' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 01:57:35.050854' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:35' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (26.0ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 103', '2024-06-18 01:57:35', '2024-06-18 01:57:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 104', '2024-06-18 01:57:35', '2024-06-18 01:57:35')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:35.519577' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 267) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 267', 267, '2024-06-18 01:57:35', '2024-06-18 01:57:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:35.545237' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 267) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 267', 267, '2024-06-18 01:57:35', '2024-06-18 01:57:35')  (1.4ms) COMMIT Fe::Element Load (11.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 2  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.4ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (25.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:35', '2024-06-18 01:57:35')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 557.2ms  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (41.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::EmailTemplate Create (4.5ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:36', '2024-06-18 01:57:36')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 9.4ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (1.0ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (34.9ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:37', '2024-06-18 01:57:37')  (1.3ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.5ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (40.7ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:37', '2024-06-18 01:57:37')  (1.6ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (24.1ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:38', '2024-06-18 01:57:38')  (1.8ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.8ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (20.0ms) TRUNCATE TABLE `fe_email_templates`  (27.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 01:57:38', '2024-06-18 01:57:38')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (25.8ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (34.2ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (25.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (26.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (38.7ms) TRUNCATE TABLE `fe_elements`  (25.5ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (25.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 128', TRUE, 'test', '2024-06-18 01:57:40', '2024-06-18 01:57:40') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 105', '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:40.862338' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 268) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 268', 268, '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:40.886224' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 269) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 269', 269, '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:40.909366' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 270) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 270', 270, '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:40.932587' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 271) Fe::Page Create (1.5ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 271', 271, '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:40.959512' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 272) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 272', 272, '2024-06-18 01:57:40', '2024-06-18 01:57:40')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:40', '2024-06-18 01:57:40') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:40' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 129', TRUE, '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1  (0.7ms) ROLLBACK  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.0ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (32.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 130', TRUE, 'test', '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 106', '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.589280' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 273) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 273', 273, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.612822' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 274) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 274', 274, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.636822' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 275) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 275', 275, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.660134' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 276) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 276', 276, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.683768' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 277) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 277', 277, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:41' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 131', TRUE, '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 107', '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.784629' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 278) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 278', 278, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.809371' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 279) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 279', 279, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.833644' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 280) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 280', 280, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.858609' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 281) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 281', 281, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:41.882184' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 282) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 282', 282, '2024-06-18 01:57:41', '2024-06-18 01:57:41')  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 01:57:41', '2024-06-18 01:57:41') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:41' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `slug` = 'test' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (32.2ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (25.4ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 132', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 133', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 134', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (7.1ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (27.9ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 135', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 136', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 137', TRUE, '2024-06-18 01:57:42', '2024-06-18 01:57:42') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `fe_addresses`  (25.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (26.4ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 138', TRUE, '2024-06-18 01:57:43', '2024-06-18 01:57:43') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 139', TRUE, '2024-06-18 01:57:43', '2024-06-18 01:57:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 140', TRUE, '2024-06-18 01:57:43', '2024-06-18 01:57:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.3ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (35.9ms) TRUNCATE TABLE `fe_conditions`  (32.3ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 141', TRUE, '2024-06-18 01:57:43', '2024-06-18 01:57:43') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 142', TRUE, '2024-06-18 01:57:43', '2024-06-18 01:57:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:43', '2024-06-18 01:57:43')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AttachmentField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::AttachmentField', 'section', 'Label Element 143', TRUE, '2024-06-18 01:57:44', '2024-06-18 01:57:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (3.4ms) COMMIT  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `attachment_file_name`, `created_at`, `updated_at`) VALUES (1, 3, 'test_file', 'test_file', '2024-06-18 01:57:44', '2024-06-18 01:57:44')  (1.4ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Destroy (1.1ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1  (1.3ms) COMMIT Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (28.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (33.0ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (42.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (41.6ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (40.5ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 108', '2024-06-18 01:57:44', '2024-06-18 01:57:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:44', '2024-06-18 01:57:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:44', '2024-06-18 01:57:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 144', TRUE, '2024-06-18 01:57:44', '2024-06-18 01:57:44', 'a;b') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 109', '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:45.045232' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 283) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 283', 283, '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 283) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:45.061689' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 283) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:45', '2024-06-18 01:57:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.4ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 110', '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 145', TRUE, '2024-06-18 01:57:45', '2024-06-18 01:57:45', 'a;b') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 111', '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:45.625900' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 284) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 284', 284, '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 284) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:45.642795' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 284) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:45', '2024-06-18 01:57:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:45' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 01:57:45', '2024-06-18 01:57:45')  (1.6ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (75.5ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (37.9ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (33.7ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:46', '2024-06-18 01:57:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 112', '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:47.032036' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 285) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 285', 285, '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 146', TRUE, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:47' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:57:47' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'initial@ref.com', 'created', '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.8ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answers"=>{"1"=>"answer here"}, "reference"=>{"1"=>{"email"=>"email@reference.com", "first_name"=>"FN", "last_name"=>"LN", "phone"=>"phone", "relationship"=>"roommate", "title"=>"A"}}, "id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 35ea3653-0520-42ae-85d1-4746dd22820d) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'dd9d004b3dc71f02f865748fd9254cfd' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'roommate', `title` = 'A', `first_name` = 'FN', `last_name` = 'LN', `phone` = 'phone', `email` = 'email@reference.com', `access_key` = 'dd9d004b3dc71f02f865748fd9254cfd' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.8ms) BEGIN Fe::Application Update (1.2ms) UPDATE `fe_applications` SET `locale` = NULL, `updated_at` = '2024-06-18 01:57:47' WHERE `fe_applications`.`id` = 1  (1.6ms) COMMIT  (1.4ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.4ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (4.8ms) Completed 200 OK in 126ms (Views: 13.8ms | ActiveRecord: 33.6ms) Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (21.9ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (23.6ms) TRUNCATE TABLE `users`  (23.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 113', '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:47.823652' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 286) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 286', 286, '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 147', TRUE, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:47' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 114', '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:47.932891' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 287) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 287, '2024-06-18 01:57:47', '2024-06-18 01:57:47')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 148', TRUE, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 01:57:47', '2024-06-18 01:57:47') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:47' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:57:47', '2024-06-18 01:57:47', 2) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:57:48' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_2', 'fn_2', 'ln_2', 'phone_2', 'initial@ref.com', 'created', '2024-06-18 01:57:48', '2024-06-18 01:57:48', 2) Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:57:48' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"ref answer here"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'ref answer here', '2024-06-18 01:57:48', '2024-06-18 01:57:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: dfbe843a-4719-45f2-ac50-3388158b790d) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.5ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (3.5ms) COMMIT  (1.4ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.6ms) Completed 200 OK in 172ms (Views: 3.1ms | ActiveRecord: 22.8ms) Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (1.2ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (26.3ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 115', '2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:48.740599' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 288) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 287', 288, '2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 149', TRUE, '2024-06-18 01:57:48', '2024-06-18 01:57:48') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:48', '2024-06-18 01:57:48') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:48' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 116', '2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:48.852966' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 289) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 289, '2024-06-18 01:57:48', '2024-06-18 01:57:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 150', TRUE, 'answer_sheet', 'email', '2024-06-18 01:57:48', '2024-06-18 01:57:48') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 01:57:48', '2024-06-18 01:57:48') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:48' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:57:48', '2024-06-18 01:57:48', 2) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:57:48' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_3', 'fn_3', 'ln_3', 'phone_3', 'initial@ref.com', 'created', '2024-06-18 01:57:48', '2024-06-18 01:57:48', 2) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:57:48' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '4251e0eb19b2f244e0a0d8ffcf7b8d0c' LIMIT 1  (0.4ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `access_key` = '4251e0eb19b2f244e0a0d8ffcf7b8d0c', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"a"=>"4251e0eb19b2f244e0a0d8ffcf7b8d0c", "answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"other@email.com"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (0.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `email` = 'other@email.com', `updated_at` = '2024-06-18 01:57:49' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 2ec5217b-cdbf-48ba-9c96-5b7aded10422) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.2ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.6ms) Completed 200 OK in 66ms (Views: 3.0ms | ActiveRecord: 19.6ms) Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 117', '2024-06-18 01:57:49', '2024-06-18 01:57:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:49.518572' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 290) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 288', 290, '2024-06-18 01:57:49', '2024-06-18 01:57:49')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:49', '2024-06-18 01:57:49')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:49', '2024-06-18 01:57:49')  (1.4ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.1ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (4.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.4ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (1.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (15.5ms) Completed 200 OK in 61ms (Views: 16.8ms | ActiveRecord: 21.6ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (62.8ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (39.3ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (24.1ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 118', '2024-06-18 01:57:50', '2024-06-18 01:57:50')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:50.100322' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 291) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 289', 291, '2024-06-18 01:57:50', '2024-06-18 01:57:50')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 151', TRUE, TRUE, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:50' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 152', TRUE, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:50' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 153', TRUE, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:50' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:50', '2024-06-18 01:57:50')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:50', '2024-06-18 01:57:50')  (32.0ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (10.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (36.9ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (78.5ms) Completed 200 OK in 113ms (Views: 54.3ms | ActiveRecord: 35.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.0ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (5.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 119', '2024-06-18 01:57:50', '2024-06-18 01:57:50')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:50.923453' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 292) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 290', 292, '2024-06-18 01:57:50', '2024-06-18 01:57:50')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 154', TRUE, TRUE, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:50', '2024-06-18 01:57:50') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:50' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 155', TRUE, '2024-06-18 01:57:51', '2024-06-18 01:57:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:51', '2024-06-18 01:57:51') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:51' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 156', TRUE, '2024-06-18 01:57:51', '2024-06-18 01:57:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:57:51', '2024-06-18 01:57:51') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:51' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:51', '2024-06-18 01:57:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:51', '2024-06-18 01:57:51')  (1.5ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (8.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (28.0ms) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (4.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (5.1ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (70.7ms) Completed 200 OK in 105ms (Views: 45.9ms | ActiveRecord: 35.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (23.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (36.1ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (22.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.7ms) TRUNCATE TABLE `fe_people`  (22.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (27.3ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:53', '2024-06-18 01:57:53')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::DateField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:57:53', '2024-06-18 01:57:53') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '13/12/2013', '2024-06-18 01:57:53', '2024-06-18 01:57:53')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (25.5ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (29.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:53', '2024-06-18 01:57:53')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::DateField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:57:53', '2024-06-18 01:57:53') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:53 UTC', '2024-06-18 01:57:53', '2024-06-18 01:57:53')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.1ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (27.1ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (19.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:54', '2024-06-18 01:57:54')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 01:57:54', '2024-06-18 01:57:54') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '1/12/2013', '2024-06-18 01:57:54', '2024-06-18 01:57:54')  (1.4ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (38.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (19.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Paragraph Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'Lorem ipsum...', '2024-06-18 01:57:55', '2024-06-18 01:57:55') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (22.7ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (26.3ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Paragraph Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'abc', '2024-06-18 01:57:55', '2024-06-18 01:57:55') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (27.6ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:55', '2024-06-18 01:57:55')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:55', '2024-06-18 01:57:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 120', '2024-06-18 01:57:55', '2024-06-18 01:57:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:55', '2024-06-18 01:57:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 157', TRUE, '2024-06-18 01:57:55', '2024-06-18 01:57:55') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:55.993081' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 293) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 291', 293, '2024-06-18 01:57:55', '2024-06-18 01:57:55')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:56' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.4ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (21.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (32.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (36.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (1.7ms) Completed 200 OK in 102ms (Views: 56.3ms | ActiveRecord: 16.6ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:56', '2024-06-18 01:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:56', '2024-06-18 01:57:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 121', '2024-06-18 01:57:56', '2024-06-18 01:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:56', '2024-06-18 01:57:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:56.626040' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 294) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 292', 294, '2024-06-18 01:57:56', '2024-06-18 01:57:56')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 158', TRUE, TRUE, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:56' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 159', TRUE, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:56' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 160', TRUE, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:57:56', '2024-06-18 01:57:56') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:56' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (16.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (24.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (24.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 76ms (Views: 28.8ms | ActiveRecord: 20.8ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (31.3ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (26.6ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:57', '2024-06-18 01:57:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:57', '2024-06-18 01:57:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 122', '2024-06-18 01:57:57', '2024-06-18 01:57:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:57', '2024-06-18 01:57:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:57.394803' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 295) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 293', 295, '2024-06-18 01:57:57', '2024-06-18 01:57:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 161', TRUE, TRUE, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:57' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 162', TRUE, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:57' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 163', TRUE, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:57:57', '2024-06-18 01:57:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:57' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (4.1ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 65ms (Views: 24.5ms | ActiveRecord: 17.2ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.7ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (26.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 123', '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 124', '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:58.156362' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 296) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 294', 296, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 164', TRUE, '2024-06-18 01:57:58', '2024-06-18 01:57:58') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:58.210817' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 297) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 295', 297, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:57:58', '2024-06-18 01:57:58') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:58' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:57:58', '2024-06-18 01:57:58') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:57:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.7ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (18.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.5ms) Completed 200 OK in 64ms (Views: 25.3ms | ActiveRecord: 17.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.7ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.7ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (45.3ms) TRUNCATE TABLE `users`  (41.2ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 125', '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:57:58', '2024-06-18 01:57:58') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 01:57:58', '2024-06-18 01:57:58')  (1.6ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 27ms (ActiveRecord: 5.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (23.0ms) TRUNCATE TABLE `fe_question_sheets`  (34.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 126', '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:57:59.376219' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 298) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 296', 298, '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (4.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_page_link.html.erb [1 times] (9.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (15.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_title.html.erb (2.0ms)  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (7.3ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGridWithTotal') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_submit_to.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (76.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 135ms (Views: 81.6ms | ActiveRecord: 28.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (26.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (27.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 127', '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:57:59', '2024-06-18 01:57:59')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 19ms (ActiveRecord: 8.3ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (38.8ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (19.9ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (131.1ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (41.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 128', '2024-06-18 01:58:00', '2024-06-18 01:58:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:00', '2024-06-18 01:58:00')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:00', '2024-06-18 01:58:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:00', '2024-06-18 01:58:00')  (1.2ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 32ms (Views: 14.3ms | ActiveRecord: 7.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 129', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:01.093242' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 299) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 297', 299, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:01.119316' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 300) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 298', 300, TRUE, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.3ms) COMMIT Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 130', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:01.607094' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 301) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 299', 301, '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 165', TRUE, '2024-06-18 01:58:01', '2024-06-18 01:58:01') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:01', '2024-06-18 01:58:01') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:01' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_4', 'fn_4', 'ln_4', 'phone_4', 'email_1@email.com', 'created', '2024-06-18 01:58:01', '2024-06-18 01:58:01') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.6ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:01' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (0.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 01:58:01', '2024-06-18 01:58:01')  (1.3ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'd0a3f1a17d10e39fc2141ee278e39495' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = 'd0a3f1a17d10e39fc2141ee278e39495' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 7.1ms Sent mail to email@email.com (93.1ms) Date: Mon, 17 Jun 2024 21:58:01 -0400 From: info@example.com To: email@email.com Message-ID: <6670e9a9ce5f1_154e82ddc5122c@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.8ms Sent mail to email@email.com (4.7ms) Date: Mon, 17 Jun 2024 21:58:01 -0400 From: info@example.com To: email@email.com Message-ID: <6670e9a9e37a6_154e82ddc51397@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.7ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 01:58:01' WHERE `fe_references`.`id` = 1  (3.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (5.0ms) Completed 200 OK in 202ms (Views: 28.6ms | ActiveRecord: 17.8ms) Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (25.8ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 131', '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (2.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (11.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 33ms (Views: 24.7ms | ActiveRecord: 3.4ms)  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (19.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 132', '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:02', '2024-06-18 01:58:02', 1) Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 'relationship_5', 'fn_5', 'ln_5', 'phone_5', 'email_2@email.com', 'created', '2024-06-18 01:58:02', '2024-06-18 01:58:02', 1) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:02' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 133', '2024-06-18 01:58:02', '2024-06-18 01:58:02')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Update (1.1ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 01:58:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 134', '2024-06-18 01:58:03', '2024-06-18 01:58:03')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Update (1.3ms) UPDATE `fe_elements` SET `updated_at` = '2024-06-18 01:58:03', `related_question_sheet_id` = 3 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 3, `fe_references`.`updated_at` = '2024-06-18 01:58:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (19.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (23.0ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:03', '2024-06-18 01:58:03') Fe::Page Load (8.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.7ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (28.2ms) TRUNCATE TABLE `fe_applications`  (29.6ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:03', '2024-06-18 01:58:03') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:03' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (26.4ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (27.6ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (27.4ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (22.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (24.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (23.4ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (25.2ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (27.2ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (43.9ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (28.5ms) TRUNCATE TABLE `fe_page_elements`  (24.9ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (23.1ms) TRUNCATE TABLE `fe_question_sheets`  (33.2ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (25.2ms) TRUNCATE TABLE `phone_numbers`  (67.3ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (6.0ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_6', 'fn_6', 'ln_6', 'phone_6', 'email_3@email.com', 'created', '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.6ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.9ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (24.2ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (6.1ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_7', 'fn_7', 'ln_7', 'phone_7', 'email_4@email.com', 'created', '2024-06-18 01:58:06', '2024-06-18 01:58:06')  (1.4ms) COMMIT Fe::Person Load (1.2ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (1.0ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (22.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:07', '2024-06-18 01:58:07', 1) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:07' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:07', '2024-06-18 01:58:07')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 1, 'relationship_8', 'fn_8', 'ln_8', 'phone_8', 'email_5@email.com', 'created', '2024-06-18 01:58:07', '2024-06-18 01:58:07', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:07' WHERE `fe_references`.`id` = 1  (1.9ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (38.3ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (29.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceSheet Create (6.4ms) INSERT INTO `fe_references` (`relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES ('relationship_9', 'fn_9', 'ln_9', 'phone_9', 'email_6@email.com', 'created', '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (1.3ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (25.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (36.1ms) TRUNCATE TABLE `fe_conditions`  (44.1ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (27.4ms) TRUNCATE TABLE `fe_page_elements`  (25.1ms) TRUNCATE TABLE `fe_pages`  (24.1ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.8ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 135', '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 136', '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:08.841927' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 302) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 300', 302, '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 302) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:08.862695' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 302) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 166', TRUE, '2024-06-18 01:58:08', '2024-06-18 01:58:08') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:08', '2024-06-18 01:58:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:08' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:08', '2024-06-18 01:58:08', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:08' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:08', '2024-06-18 01:58:08')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:58:08', 'relationship_10', 'fn_10', 'ln_10', 'phone_10', 'email_7@email.com', 'started', '2024-06-18 01:58:09', '2024-06-18 01:58:09', 1) Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (5.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.6ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:09' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.7ms) COMMIT Fe::ReferenceSheet Update (1.0ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.1ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'c53c36c347134c642651095e136a2842' LIMIT 1 Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = 'c53c36c347134c642651095e136a2842', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT  (2.5ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (26.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_answers`  (35.1ms) TRUNCATE TABLE `fe_applications`  (34.0ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 137', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 138', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:09.588091' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 303) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 301', 303, '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 303) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:09.606857' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 303) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 167', TRUE, '2024-06-18 01:58:09', '2024-06-18 01:58:09') Fe::Page Load (5.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:09', '2024-06-18 01:58:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:09', '2024-06-18 01:58:09', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:09' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:58:09', 'relationship_11', 'fn_11', 'ln_11', 'phone_11', 'email_8@email.com', 'started', '2024-06-18 01:58:09', '2024-06-18 01:58:09', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (3.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.5ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:09' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.4ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:09', '2024-06-18 01:58:09')  (1.5ms) COMMIT Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (19.6ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (24.3ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 139', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 140', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:10.273690' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 304) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 302', 304, '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 304) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:10.292939' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 304) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 168', TRUE, '2024-06-18 01:58:10', '2024-06-18 01:58:10') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:10', '2024-06-18 01:58:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:10' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:10', '2024-06-18 01:58:10', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:10' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:58:10', 'relationship_12', 'fn_12', 'ln_12', 'phone_12', 'email_9@email.com', 'started', '2024-06-18 01:58:10', '2024-06-18 01:58:10', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.5ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:10' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.5ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (2.7ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 141', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 142', '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:10.952744' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 305) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 303', 305, '2024-06-18 01:58:10', '2024-06-18 01:58:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 305) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:10.971680' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 305) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 169', TRUE, '2024-06-18 01:58:10', '2024-06-18 01:58:10') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:11', '2024-06-18 01:58:11') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:11' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:11', '2024-06-18 01:58:11', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:58:11', 'relationship_13', 'fn_13', 'ln_13', 'phone_13', 'email_10@email.com', 'started', '2024-06-18 01:58:11', '2024-06-18 01:58:11', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:11' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (1.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.3ms) COMMIT Fe::ReferenceSheet Update (0.9ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.4ms) BEGIN  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.0ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a5ca8a845726ded10f3c0eaf93b0c0ba' LIMIT 1 Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = 'a5ca8a845726ded10f3c0eaf93b0c0ba', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (2.6ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 143', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 144', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:11.651297' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 306) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 304', 306, '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 306) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:11.670850' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 306) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 170', TRUE, '2024-06-18 01:58:11', '2024-06-18 01:58:11') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:11', '2024-06-18 01:58:11') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:11' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 01:58:11', '2024-06-18 01:58:11', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 01:58:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 00:58:11', 'relationship_14', 'fn_14', 'ln_14', 'phone_14', 'email_11@email.com', 'started', '2024-06-18 01:58:11', '2024-06-18 01:58:11', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (3.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:11' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 01:58:11', '2024-06-18 01:58:11')  (1.5ms) COMMIT Fe::ReferenceSheet Update (2.1ms) UPDATE `fe_references` SET `status` = 'created' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.1ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '54e0127e061bbf372816d94331a5aeae' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `access_key` = '54e0127e061bbf372816d94331a5aeae', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (20.3ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (25.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 145', '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:12.358778' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 307) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 305', 307, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:12.387868' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 308) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 306', 308, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.5ms) COMMIT  (0.8ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:12.420263' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 309) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 307', 309, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:12.445914' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 310) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 308', 310, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:12.470493' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 311) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 309', 311, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:12', '2024-06-18 01:58:12') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:58:12', '2024-06-18 01:58:12') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:12' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:12', '2024-06-18 01:58:12', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:12' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:58:12', '2024-06-18 01:58:12') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (3.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:12' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:12' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 3, '2024-06-18 01:58:12', '2024-06-18 01:58:12') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:12' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_15', 'fn_15', 'ln_15', 'phone_15', 'email_12@email.com', 'created', '2024-06-18 01:58:12', '2024-06-18 01:58:12') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:12' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:58:12', '2024-06-18 01:58:12')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (35.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 146', '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:13.370908' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 312) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 310', 312, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:13.399544' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 313) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 311', 313, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:13.425897' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 314) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 312', 314, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:13.450367' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 315) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 313', 315, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:13.474771' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 316) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 314', 316, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:13', '2024-06-18 01:58:13', 'Fe::Element', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:58:13', '2024-06-18 01:58:13') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:13' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:13', '2024-06-18 01:58:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:13' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:58:13', '2024-06-18 01:58:13') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.7ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:13' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:13' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_16', 'fn_16', 'ln_16', 'phone_16', 'email_13@email.com', 'created', '2024-06-18 01:58:13', '2024-06-18 01:58:13') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (6.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:13' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 01:58:13', '2024-06-18 01:58:13')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.6ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.8ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (27.0ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 147', '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:14.280304' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 317) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 315', 317, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:14.308278' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 318) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 316', 318, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:14.333767' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 319) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 317', 319, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:14.358940' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 320) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 318', 320, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:14.384249' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 321) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 319', 321, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (10.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:14', '2024-06-18 01:58:14') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:58:14', '2024-06-18 01:58:14') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:14' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:14', '2024-06-18 01:58:14', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:58:14', '2024-06-18 01:58:14') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:14' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_17', 'fn_17', 'ln_17', 'phone_17', 'email_14@email.com', 'created', '2024-06-18 01:58:14', '2024-06-18 01:58:14') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:14' WHERE `fe_references`.`id` = 1  (3.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:58:14', '2024-06-18 01:58:14')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.2ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (26.9ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 148', '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:15.231461' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 322) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 320', 322, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:15.258387' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 323) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 321', 323, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:15.281769' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 324) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 322', 324, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:15.306382' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 325) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 323', 325, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:15.331497' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 326) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 324', 326, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:15', '2024-06-18 01:58:15', 'Fe::Element', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 01:58:15', '2024-06-18 01:58:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:15' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:15', '2024-06-18 01:58:15') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:15' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 01:58:15', '2024-06-18 01:58:15') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:15' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:15' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_18', 'fn_18', 'ln_18', 'phone_18', 'email_15@email.com', 'created', '2024-06-18 01:58:15', '2024-06-18 01:58:15') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (5.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:15' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 01:58:15', '2024-06-18 01:58:15')  (1.6ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (25.1ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 149', '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.137529' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 327) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 325', 327, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.165789' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 328) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 326', 328, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.189870' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 329) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 327', 329, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.214185' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 330) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 328', 330, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.237957' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 331) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 329', 331, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 171', TRUE, '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:16', '2024-06-18 01:58:16', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:16' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 172', TRUE, '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:16' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 150', '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.545363' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 332) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 330', 332, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.569161' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 333) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 331', 333, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.592276' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 334) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 332', 334, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.615334' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 335) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 333', 335, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:16.639138' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 336) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 334', 336, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_19', 'fn_19', 'ln_19', 'phone_19', 'email_16@email.com', 'created', '2024-06-18 01:58:16', '2024-06-18 01:58:16') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`id` = 1  (3.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `visible` = FALSE WHERE `fe_references`.`id` = 1  (0.6ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:58:16', '2024-06-18 01:58:16')  (1.5ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.5ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618015816000000', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:16' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (22.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 151', '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.256025' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 337) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 335', 337, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.282500' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 338) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 336', 338, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.306705' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 339) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 337', 339, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.331597' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 340) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 338', 340, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.355760' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 341) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 339', 341, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 173', TRUE, '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:17' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (12.8ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:17', '2024-06-18 01:58:17', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:17' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:17' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 174', TRUE, '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:17' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:17' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 152', '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.668670' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 342) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 340', 342, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.692199' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 343) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 341', 343, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.715292' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 344) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 342', 344, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.738428' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 345) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 343', 345, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:17.761668' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 346) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 344', 346, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.5ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:58:17', '2024-06-18 01:58:17')  (1.4ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_20', 'fn_20', 'ln_20', 'phone_20', 'email_17@email.com', 'created', '2024-06-18 01:58:17', '2024-06-18 01:58:17') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618015817000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:17' WHERE `fe_references`.`id` = 1  (3.4ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (27.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (5.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 153', '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (42.2ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.396349' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 347) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 345', 347, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.422996' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 348) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 346', 348, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.446488' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 349) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 347', 349, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.469670' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 350) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 348', 350, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.492981' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 351) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 349', 351, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 175', TRUE, '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:18', '2024-06-18 01:58:18', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:18' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 176', TRUE, '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:18' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.7ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:18' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:18' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 154', '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.790993' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 352) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 350', 352, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.816164' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 353) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 351', 353, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.842298' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 354) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 352', 354, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.867742' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 355) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 353', 355, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:18.892568' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 356) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 354', 356, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:58:18', '2024-06-18 01:58:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_21', 'fn_21', 'ln_21', 'phone_21', 'email_18@email.com', 'created', '2024-06-18 01:58:18', '2024-06-18 01:58:18') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (6.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`id` = 1  (3.1ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `updated_at` = '2024-06-18 01:58:19', `visible` = FALSE, `visibility_cache_key` = 'something' WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618015819000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (33.4ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 155', '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.511213' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 357) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 355', 357, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.538454' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 358) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 356', 358, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.564298' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 359) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 357', 359, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.589418' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 360) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 358', 360, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.612689' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 361) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 359', 361, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 177', TRUE, '2024-06-18 01:58:19', '2024-06-18 01:58:19') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 01:58:19', '2024-06-18 01:58:19', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 01:58:19', '2024-06-18 01:58:19') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:19' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 01:58:19', '2024-06-18 01:58:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:19' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.7ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 178', TRUE, '2024-06-18 01:58:19', '2024-06-18 01:58:19') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 01:58:19', '2024-06-18 01:58:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:19' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:19' WHERE `fe_pages`.`id` = 1  (13.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 156', '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.928059' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 362) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 360', 362, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.951570' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 363) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 361', 363, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.974582' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 364) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 362', 364, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:19.997972' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 365) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 363', 365, '2024-06-18 01:58:19', '2024-06-18 01:58:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:20.021295' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 366) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 364', 366, '2024-06-18 01:58:20', '2024-06-18 01:58:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 01:58:20', '2024-06-18 01:58:20')  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 01:58:20', '2024-06-18 01:58:20')  (1.7ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_22', 'fn_22', 'ln_22', 'phone_22', 'email_19@email.com', 'created', '2024-06-18 01:58:20', '2024-06-18 01:58:20') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.6ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618015820000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:20' WHERE `fe_references`.`id` = 1  (3.6ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Update (1.3ms) UPDATE `fe_answers` SET `value` = 'yes', `updated_at` = '2024-06-18 01:58:21' WHERE `fe_answers`.`id` = 1  (3.1ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (26.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1 Fe::ReferenceSheet Exists (6.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '9d306483d47c65110a6368fbee361577' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a62ad64af7f4610c49e6420b1a954f8e' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a48110360c17705ad69b37974830a80e' LIMIT 1 Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'ab36cc9b9b1fb2fc0b93f3e6622e7d3a' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '47ee3f024d8280cc9b80451767a97c60' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '5f542f5294044c2d0536e3dea44b1cf5' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'f71d66067a25bf7b5e80969e30fc2b0d' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'd00bfb8414301a8b1666c70aa1572881' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '66160c84c25dc99b198ac749d9730616' LIMIT 1 Fe::ReferenceSheet Exists (0.8ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'dbee36988e00c353c59a4f0bd72a9570' LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (26.2ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 157', '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.069056' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 367) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 365', 367, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.095088' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 368) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 366', 368, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.118362' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 369) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 367', 369, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.142354' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 370) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 368', 370, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.166752' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 371) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 369', 371, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:22', '2024-06-18 01:58:22') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:22' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:22', '2024-06-18 01:58:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:22' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:22' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_23', 'fn_23', 'ln_23', 'phone_23', 'email_20@email.com', 'created', '2024-06-18 01:58:22', '2024-06-18 01:58:22') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:22' WHERE `fe_references`.`id` = 1  (1.9ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (18.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 158', '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.807338' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 372) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 370', 372, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.834418' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 373) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 371', 373, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.857821' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 374) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 372', 374, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.881444' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 375) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 373', 375, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:22.910276' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 376) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 374', 376, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:22', '2024-06-18 01:58:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', FALSE, '2024-06-18 01:58:22', '2024-06-18 01:58:22') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:22' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_24', 'fn_24', 'ln_24', 'phone_24', 'email_21@email.com', 'created', '2024-06-18 01:58:22', '2024-06-18 01:58:22') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:23' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.4ms) TRUNCATE TABLE `fe_answers`  (22.1ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (24.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 159', '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:23.459121' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 377) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 375', 377, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:23.485158' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 378) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 376', 378, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:23.508864' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 379) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 377', 379, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:23.532477' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 380) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 378', 380, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:23.555973' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 381) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 379', 381, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 01:58:23', '2024-06-18 01:58:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 01:58:23', '2024-06-18 01:58:23') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:23' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:23', '2024-06-18 01:58:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:23' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:23' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_25', 'fn_25', 'ln_25', 'phone_25', 'email_22@email.com', 'created', '2024-06-18 01:58:23', '2024-06-18 01:58:23') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 01:58:23' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (22.5ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (22.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 179', TRUE, '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:24', '2024-06-18 01:58:24')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:24', '2024-06-18 01:58:24')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_26', 'fn_26', 'ln_26', 'phone_26', 'email_23@email.com', 'created', '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (3.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:24' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 180', TRUE, '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'some text response', '2024-06-18 01:58:24', '2024-06-18 01:58:24')  (1.5ms) COMMIT Fe::Page Load (2.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 181', TRUE, '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 01:58:24' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 01:58:24', '2024-06-18 01:58:24')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 01:58:24', '2024-06-18 01:58:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_27', 'fn_27', 'ln_27', 'phone_27', 'email_24@email.com', 'created', '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 01:58:24' WHERE `fe_references`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 182', TRUE, '2024-06-18 01:58:24', '2024-06-18 01:58:24') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (23.1ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (20.0ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (28.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (24.0ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (26.3ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (26.3ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 160', '2024-06-18 01:58:26', '2024-06-18 01:58:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:26.966924' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 382) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 380', 382, '2024-06-18 01:58:26', '2024-06-18 01:58:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 183', TRUE, '2024-06-18 01:58:26', '2024-06-18 01:58:26') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:27' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 184', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 185', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:27' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 186', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (29.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (27.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 161', '2024-06-18 01:58:27', '2024-06-18 01:58:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:27.649104' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 383) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 381', 383, '2024-06-18 01:58:27', '2024-06-18 01:58:27')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 187', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:27' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 188', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 189', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:27' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 190', TRUE, '2024-06-18 01:58:27', '2024-06-18 01:58:27') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (28.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 162', '2024-06-18 01:58:28', '2024-06-18 01:58:28')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:28.327478' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 384) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 382', 384, '2024-06-18 01:58:28', '2024-06-18 01:58:28')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 191', TRUE, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:28' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 192', TRUE, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:28' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:28.471317' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 385) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 383', 385, '2024-06-18 01:58:28', '2024-06-18 01:58:28')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 193', TRUE, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 3, 1, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:28' WHERE `fe_pages`.`id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 194', TRUE, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 4, 2, '2024-06-18 01:58:28', '2024-06-18 01:58:28') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:28' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '4,3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 4, 3) ORDER BY id=2 DESC, id=1 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (36.6ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (57.5ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 163', '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 164', '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.089610' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 386) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (2, 'Label Page 384', 386, '2024-06-18 01:58:29', '2024-06-18 01:58:29', '')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 165', '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.123011' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 387) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (3, 'Label Page 385', 387, '2024-06-18 01:58:29', '2024-06-18 01:58:29', '')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 195', TRUE, '2024-06-18 01:58:29', '2024-06-18 01:58:29') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 01:58:29', '2024-06-18 01:58:29') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:29' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 386) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.205831' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 386) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 387) AND (`fe_pages`.id != 2) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.221608' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 2) AND (`fe_pages`.`number` >= 387) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (34.1ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 166', '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 167', '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.678553' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 388) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 386', 388, '2024-06-18 01:58:29', '2024-06-18 01:58:29')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 388) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:29.697417' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 388) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (8.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 168', '2024-06-18 01:58:30', '2024-06-18 01:58:30')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:30.154125' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 389) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 387', 389, '2024-06-18 01:58:30', '2024-06-18 01:58:30')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 196', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:30' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 197', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 198', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 199', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 2, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 01:58:30.392572' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 390) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 388', 390, '2024-06-18 01:58:30', '2024-06-18 01:58:30')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 200', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 5, 1, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:30' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::TextField', 'short', 'Label Element 201', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::Section', 'section', 'Label Element 202', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 6 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 203', TRUE, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 8, 2, '2024-06-18 01:58:30', '2024-06-18 01:58:30') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7,8' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 01:58:30' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=8 DESC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (24.7ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.0ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (27.7ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (25.4ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (23.8ms) TRUNCATE TABLE `users`  (29.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (1.2ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.6ms) BEGIN Fe::QuestionSheet Create (2.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 02:07:54', '2024-06-18 02:07:54')  (3.2ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (2.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:54', '2024-06-18 02:07:54')  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (2.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:54', '2024-06-18 02:07:54')  (3.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:54', '2024-06-18 02:07:54')  (3.1ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:07:54.482220' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 02:07:54', '2024-06-18 02:07:54')  (4.0ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (6.3ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (3.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (421.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (437.0ms) Completed 500 Internal Server Error in 695ms (ActiveRecord: 48.4ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (5.3ms) select table_name from information_schema.views where table_schema = 'fe_test'  (25.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (32.4ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 02:07:55', '2024-06-18 02:07:55')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:55', '2024-06-18 02:07:55')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:55', '2024-06-18 02:07:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:55', '2024-06-18 02:07:55')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.1ms) Completed 500 Internal Server Error in 62ms (ActiveRecord: 7.9ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (35.3ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (27.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 18ms (ActiveRecord: 8.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (19.6ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (25.0ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (22.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:56', '2024-06-18 02:07:56')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (10.6ms) Completed 500 Internal Server Error in 50ms (ActiveRecord: 3.5ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (18.9ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (34.6ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:07:57.179808' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:07:57.205396' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, TRUE, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.8ms) COMMIT Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (27.3ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (1.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:07:57', '2024-06-18 02:07:57') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 02:07:57', '2024-06-18 02:07:57')  (1.3ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 28ms (ActiveRecord: 5.1ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (5.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (4.4ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:07:58.194408' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 1', TRUE, '2024-06-18 02:07:58', '2024-06-18 02:07:58') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:07:58' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:07:58', '2024-06-18 02:07:58') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:07:58' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:07:58' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'email_1@email.com', 'created', '2024-06-18 02:07:58', '2024-06-18 02:07:58') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (3.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:07:58' WHERE `fe_references`.`id` = 1  (3.4ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (2.7ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::EmailTemplate Create (1.0ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 02:07:58', '2024-06-18 02:07:58')  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.4ms) BEGIN Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'a59d747cea94921195086635c8b83b5d' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = 'a59d747cea94921195086635c8b83b5d', `updated_at` = '2024-06-18 02:07:59' WHERE `fe_references`.`id` = 1  (3.3ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (1.2ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 556.8ms Sent mail to email@email.com (88.9ms) Date: Mon, 17 Jun 2024 22:07:59 -0400 From: info@example.com To: email@email.com Message-ID: <6670ebffbe14c_15c9d2cb0800ef@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.3ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.6ms Sent mail to email@email.com (4.7ms) Date: Mon, 17 Jun 2024 22:07:59 -0400 From: info@example.com To: email@email.com Message-ID: <6670ebffd2766_15c9d2cb0801ac@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 02:07:59' WHERE `fe_references`.`id` = 1  (3.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (4.0ms) Completed 200 OK in 941ms (Views: 44.3ms | ActiveRecord: 18.7ms) Fe::ReferenceSheet Load (1.3ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (43.7ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:08:00', '2024-06-18 02:08:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:08:00', '2024-06-18 02:08:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 02:08:00', '2024-06-18 02:08:00')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:00', '2024-06-18 02:08:00')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 2', TRUE, '2024-06-18 02:08:00', '2024-06-18 02:08:00') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:00.595137' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 02:08:00', '2024-06-18 02:08:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:00', '2024-06-18 02:08:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:00' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.4ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (26.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (38.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (42.1ms) Completed 500 Internal Server Error in 119ms (ActiveRecord: 16.5ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (30.3ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (24.8ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:01.249624' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 6) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 6', 6, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 3', TRUE, '2024-06-18 02:08:01', '2024-06-18 02:08:01') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:01.303636' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:08:01', '2024-06-18 02:08:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:01' WHERE `fe_pages`.`id` = 2  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:01', '2024-06-18 02:08:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:01' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.6ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.6ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.2ms) Completed 500 Internal Server Error in 104ms (ActiveRecord: 17.6ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (30.5ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:01.973366' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 02:08:01', '2024-06-18 02:08:01')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 4', TRUE, TRUE, '2024-06-18 02:08:01', '2024-06-18 02:08:01') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 5', TRUE, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 6', TRUE, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.4ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (18.6ms) Completed 500 Internal Server Error in 86ms (ActiveRecord: 17.0ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (34.2ms) TRUNCATE TABLE `fe_addresses`  (27.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (22.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Person Create (4.3ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:08:02', '2024-06-18 02:08:02')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:08:02', '2024-06-18 02:08:02')  (1.1ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 02:08:02', '2024-06-18 02:08:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:02', '2024-06-18 02:08:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:02.767008' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 02:08:02', '2024-06-18 02:08:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 7', TRUE, TRUE, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 8', TRUE, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 9', TRUE, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:08:02', '2024-06-18 02:08:02') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:02' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.9ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (16.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (24.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (25.1ms) Completed 500 Internal Server Error in 95ms (ActiveRecord: 21.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (29.8ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (19.5ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (25.3ms) TRUNCATE TABLE `fe_pages`  (31.8ms) TRUNCATE TABLE `fe_people`  (77.8ms) TRUNCATE TABLE `fe_question_sheets`  (36.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (26.8ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (62.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (99.9ms) TRUNCATE TABLE `fe_addresses`  (28.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (38.0ms) TRUNCATE TABLE `fe_conditions`  (41.1ms) TRUNCATE TABLE `fe_elements`  (55.4ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (60.3ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (95.6ms) TRUNCATE TABLE `users`  (85.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (46.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (61.8ms) TRUNCATE TABLE `fe_elements`  (25.2ms) TRUNCATE TABLE `fe_email_templates`  (48.9ms) TRUNCATE TABLE `fe_page_elements`  (37.7ms) TRUNCATE TABLE `fe_pages`  (122.0ms) TRUNCATE TABLE `fe_people`  (119.2ms) TRUNCATE TABLE `fe_question_sheets`  (105.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (47.8ms) TRUNCATE TABLE `phone_numbers`  (31.4ms) TRUNCATE TABLE `users`  (36.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (87.3ms) TRUNCATE TABLE `fe_conditions`  (59.6ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (30.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (35.0ms) TRUNCATE TABLE `fe_conditions`  (43.4ms) TRUNCATE TABLE `fe_elements`  (24.4ms) TRUNCATE TABLE `fe_email_templates`  (25.9ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (25.2ms) TRUNCATE TABLE `fe_people`  (28.8ms) TRUNCATE TABLE `fe_question_sheets`  (34.8ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (56.6ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (28.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 02:08:06', '2024-06-18 02:08:06')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:06.961022' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 10) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 10', 10, '2024-06-18 02:08:06', '2024-06-18 02:08:06')  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 10', TRUE, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:07' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 11', TRUE, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (11.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 12', TRUE, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:07' WHERE `fe_pages`.`id` = 1  (12.2ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 13', TRUE, '2024-06-18 02:08:07', '2024-06-18 02:08:07') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (12.0ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (108.1ms) TRUNCATE TABLE `fe_addresses`  (25.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_answers`  (48.8ms) TRUNCATE TABLE `fe_applications`  (99.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (56.5ms) TRUNCATE TABLE `fe_pages`  (74.5ms) TRUNCATE TABLE `fe_people`  (63.3ms) TRUNCATE TABLE `fe_question_sheets`  (67.4ms) TRUNCATE TABLE `fe_references`  (24.7ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (28.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 02:08:08', '2024-06-18 02:08:08')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:08.347419' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 11) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 11', 11, '2024-06-18 02:08:08', '2024-06-18 02:08:08')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGrid Create (10.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 14', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (5.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:08' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 15', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 16', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 17', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.4ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 2, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:08' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:08.603243' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 02:08:08', '2024-06-18 02:08:08')  (1.9ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 18', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 5, 1, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '5' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:08' WHERE `fe_pages`.`id` = 2  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.7ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::TextField', 'short', 'Label Element 19', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.8ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::Section', 'section', 'Label Element 20', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 6 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 21', TRUE, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 8, 2, '2024-06-18 02:08:08', '2024-06-18 02:08:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (2.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.7ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7,8' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:08' WHERE `fe_pages`.`id` = 2  (1.9ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=8 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (24.5ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (27.0ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (38.1ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (30.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 15', '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 16', '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.335022' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 13', 13, '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 13) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.353774' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 13) Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (8.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (26.2ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (27.5ms) TRUNCATE TABLE `fe_pages`  (23.4ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 17', '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 18', '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.844740' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 14) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (2, 'Label Page 14', 14, '2024-06-18 02:08:09', '2024-06-18 02:08:09', '')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 19', '2024-06-18 02:08:09', '2024-06-18 02:08:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.878287' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 15) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (3, 'Label Page 15', 15, '2024-06-18 02:08:09', '2024-06-18 02:08:09', '')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 22', TRUE, '2024-06-18 02:08:09', '2024-06-18 02:08:09') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:08:09', '2024-06-18 02:08:09') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:09' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 14) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.953939' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 14) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 15) AND (`fe_pages`.id != 2) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:09.968230' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 2) AND (`fe_pages`.`number` >= 15) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (25.2ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 20', '2024-06-18 02:08:10', '2024-06-18 02:08:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:10.426070' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 16) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 16', 16, '2024-06-18 02:08:10', '2024-06-18 02:08:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 23', TRUE, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:10' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 24', TRUE, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:10.566144' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 17) Fe::Page Create (1.6ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 17', 17, '2024-06-18 02:08:10', '2024-06-18 02:08:10')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 25', TRUE, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 3, 1, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:10' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 26', TRUE, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 4, 2, '2024-06-18 02:08:10', '2024-06-18 02:08:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:10' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '4,3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 4, 3) ORDER BY id=2 DESC, id=1 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (26.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 21', '2024-06-18 02:08:11', '2024-06-18 02:08:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:11.130042' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 18) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 18', 18, '2024-06-18 02:08:11', '2024-06-18 02:08:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (9.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 27', TRUE, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 28', TRUE, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 29', TRUE, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:11' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 30', TRUE, '2024-06-18 02:08:11', '2024-06-18 02:08:11') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (21.2ms) TRUNCATE TABLE `phone_numbers`  (23.1ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (27.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (28.1ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (26.0ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (40.5ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (26.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 22', '2024-06-18 02:08:13', '2024-06-18 02:08:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.2ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 23', TRUE, '2024-06-18 02:08:13', '2024-06-18 02:08:13')  (1.5ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = FALSE ORDER BY label Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = TRUE ORDER BY label Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin (11.5ms) Completed 500 Internal Server Error in 52ms (ActiveRecord: 2.3ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24', '2024-06-18 02:08:13', '2024-06-18 02:08:13')  (1.5ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_question_sheets` Processing by Fe::Admin::QuestionSheetsController#duplicate as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24 - COPY', '2024-06-18 02:08:13', '2024-06-18 02:08:13')  (1.4ms) COMMIT Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Redirected to http://test.host/ Completed 302 Found in 19ms (ActiveRecord: 8.2ms)  (2.8ms) SELECT COUNT(*) FROM `fe_question_sheets` Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY `fe_question_sheets`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (29.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (39.3ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (33.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 25', '2024-06-18 02:08:14', '2024-06-18 02:08:14')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#archive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = TRUE WHERE `fe_question_sheets`.`id` = 1  (1.7ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 11ms (ActiveRecord: 4.5ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (29.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 26', TRUE, '2024-06-18 02:08:14', '2024-06-18 02:08:14')  (1.4ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#unarchive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.2ms) UPDATE `fe_question_sheets` SET `archived` = FALSE WHERE `fe_question_sheets`.`id` = 1  (1.6ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 11ms (ActiveRecord: 4.4ms) Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.4ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (36.0ms) TRUNCATE TABLE `fe_conditions`  (38.5ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (26.3ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (24.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 27', '2024-06-18 02:08:15', '2024-06-18 02:08:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:15.370347' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 19) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 19', 19, '2024-06-18 02:08:15', '2024-06-18 02:08:15')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:15.396670' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 20) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 20', 20, '2024-06-18 02:08:15', '2024-06-18 02:08:15')  (1.2ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/panels/_page.html.erb [2 times] (2.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_pages_list.html.erb (7.3ms) Fe::Element Load (11.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (18.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin (38.7ms) Completed 500 Internal Server Error in 76ms (ActiveRecord: 13.8ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (38.2ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.5ms) TRUNCATE TABLE `fe_email_templates`  (43.4ms) TRUNCATE TABLE `fe_page_elements`  (48.2ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (25.7ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 28', '2024-06-18 02:08:15', '2024-06-18 02:08:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:08:15', '2024-06-18 02:08:15', 1) Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:08:15' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 'relationship_2', 'fn_2', 'ln_2', 'phone_2', 'email_2@email.com', 'created', '2024-06-18 02:08:16', '2024-06-18 02:08:16', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:08:16' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 29', '2024-06-18 02:08:16', '2024-06-18 02:08:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Update (1.3ms) UPDATE `fe_elements` SET `updated_at` = '2024-06-18 02:08:16', `related_question_sheet_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 02:08:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 30', '2024-06-18 02:08:16', '2024-06-18 02:08:16')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Update (1.1ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 3 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 3, `fe_references`.`updated_at` = '2024-06-18 02:08:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (26.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (24.4ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:08:16', '2024-06-18 02:08:16') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.1ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:08:16', '2024-06-18 02:08:16') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 31', '2024-06-18 02:08:17', '2024-06-18 02:08:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:17.428039' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 21) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 21', 21, '2024-06-18 02:08:17', '2024-06-18 02:08:17')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionPagesController#show as JS Parameters: {"question_sheet_id"=>"1", "id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`id` = 1 ORDER BY number LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb Fe::Element Load (11.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (2.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb (28.6ms) Completed 200 OK in 61ms (Views: 38.4ms | ActiveRecord: 13.7ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (23.5ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (22.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (83.8ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (41.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (28.5ms) TRUNCATE TABLE `users`  (27.7ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_answers`  (29.0ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (20.7ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (52.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (34.7ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (24.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (23.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (24.5ms) TRUNCATE TABLE `users`  (29.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 32', '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:20.918479' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 22) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 22', 22, '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:20.943880' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 23) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 23', 23, '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:20.966840' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 24) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 24', 24, '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:20.989580' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 25) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 25', 25, '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:21.011890' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 26) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 26', 26, '2024-06-18 02:08:20', '2024-06-18 02:08:20')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the enclosed element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:21', '2024-06-18 02:08:21', 'Fe::Element') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:21', '2024-06-18 02:08:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:21' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the enclosing element', TRUE, '2024-06-18 02:08:21', '2024-06-18 02:08:21', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:08:21', '2024-06-18 02:08:21') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (0.9ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:21' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.5ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (18.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 33', '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:21.919365' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 27) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 27', 27, '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:21.944634' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 28) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 28', 28, '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:21.967324' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 29) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 29', 29, '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:21.991308' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 30) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 30', 30, '2024-06-18 02:08:21', '2024-06-18 02:08:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.014308' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 31) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 31', 31, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:22', '2024-06-18 02:08:22', 'Fe::Element') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:22' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:22' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (23.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 34', '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.619952' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 32) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 32', 32, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.645545' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 33) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 33', 33, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.2ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.668159' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 34) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 34', 34, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.692141' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 35) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 35', 35, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:22.715171' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 36) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 36', 36, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:22', '2024-06-18 02:08:22', 5, 'Fe::Page', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:22' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 02:08:22', '2024-06-18 02:08:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:22' WHERE `fe_pages`.`id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:08:22', '2024-06-18 02:08:22')  (3.3ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (24.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 35', '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:23.903043' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 37) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 37', 37, '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:23.929534' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 38) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 38', 38, '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:23.953186' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 39) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 39', 39, '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:23.976165' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 40) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 40', 40, '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:23.999455' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 41) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 41', 41, '2024-06-18 02:08:23', '2024-06-18 02:08:23')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL1', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:24', '2024-06-18 02:08:24') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:08:24', '2024-06-18 02:08:24') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:24' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL2', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:24', '2024-06-18 02:08:24', 1) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'LVL3 (GRID)', TRUE, '2024-06-18 02:08:24', '2024-06-18 02:08:24', 2) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::ChoiceField', 'yes-no', 'LVL4', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:24', '2024-06-18 02:08:24') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.7ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'EL (LVL5)', TRUE, '2024-06-18 02:08:24', '2024-06-18 02:08:24', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (3.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:08:24', '2024-06-18 02:08:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:24', '2024-06-18 02:08:24')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:08:24', '2024-06-18 02:08:24')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'yes', '2024-06-18 02:08:24', '2024-06-18 02:08:24')  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 4, 'yes', '2024-06-18 02:08:24', '2024-06-18 02:08:24')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 2  (3.9ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.3ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (21.9ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (19.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 36', '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:25.108619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 42) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 42', 42, '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:25.135726' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 43) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 43', 43, '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:25.160511' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 44) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 44', 44, '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:25.185081' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 45) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 45', 45, '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:25.208114' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 46) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 46', 46, '2024-06-18 02:08:25', '2024-06-18 02:08:25')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:25', '2024-06-18 02:08:25', 5, 'Fe::Page') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:25', '2024-06-18 02:08:25') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:25' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (24.3ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 37', '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.143255' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 47) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 47', 47, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.169960' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 48) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 48', 48, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.194177' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 49) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 49', 49, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.217259' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 50) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 50', 50, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.239781' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 51) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 51', 51, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:26', '2024-06-18 02:08:26', 5, 'Fe::Page') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:26', '2024-06-18 02:08:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:26' WHERE `fe_pages`.`id` = 4  (1.3ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 1  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 2 WHERE `fe_pages`.`id` = 2  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 2)  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 3 WHERE `fe_pages`.`id` = 3  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 3)  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 4  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1) Fe::Page Update All (1.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.383868' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 4) AND (`fe_pages`.`number` >= 1) AND (`fe_pages`.`number` < 50)  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 4 WHERE `fe_pages`.`id` = 5  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 4) Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.409549' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 5) AND (`fe_pages`.`number` >= 4) AND (`fe_pages`.`number` < 51)  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (36.7ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (28.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 38', '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.874235' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 52) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 52', 52, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.899781' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 53) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 53', 53, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.923040' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 54) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 54', 54, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.946312' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 55) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 55', 55, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:26.969941' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 56) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 56', 56, '2024-06-18 02:08:26', '2024-06-18 02:08:26')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:26', '2024-06-18 02:08:26', 'Fe::Element') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved', TRUE, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved to become hidden', TRUE, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 3, 3, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.5ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:08:27.240109' WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 1  (1.6ms) COMMIT Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.3ms) TRUNCATE TABLE `fe_addresses`  (28.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (32.5ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 39', '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:27.753909' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 57) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 57', 57, '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:27.779349' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 58) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 58', 58, '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:27.803310' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 59) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 59', 59, '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:27.826832' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 60) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 60', 60, '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:08:27.849895' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 61) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 61', 61, '2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:27', '2024-06-18 02:08:27', 5, 'Fe::Page', 'yes') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 02:08:27', '2024-06-18 02:08:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:08:27' WHERE `fe_pages`.`id` = 5  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:08:27', '2024-06-18 02:08:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:08:28', '2024-06-18 02:08:28')  (1.4ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.0ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:08:28', '2024-06-18 02:08:28')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.1ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 1  (3.8ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.3ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.6ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (72.8ms) TRUNCATE TABLE `fe_elements`  (24.1ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (26.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (26.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (37.3ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ChoiceField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `content_translations`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 31', '1\r\n2', TRUE, '2024-06-18 02:08:29', '2024-06-18 02:08:29', '---\nfr: \'\'\n') Fe::Page Load (8.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (28.1ms) TRUNCATE TABLE `fe_applications`  (40.1ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (27.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 32', TRUE, '2024-06-18 02:08:29', '2024-06-18 02:08:29', '---\nfr: fr label\n', '---\nfr: fr tip\n', '---\nfr: fr content\n') Fe::Page Load (7.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (25.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (10.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 33', TRUE, '2024-06-18 02:08:29', '2024-06-18 02:08:29', '---\nfr: \'\'\n', '---\nfr: \'\'\n', '---\nfr: \'\'\n') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (26.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (24.9ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 34', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:30' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 35', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 36', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT Fe::Question Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::Question', 'Fe::ChoiceField', 'Fe::DateField', 'Fe::TextField', 'Fe::ReferenceQuestion', 'Fe::AttachmentField', 'Fe::StateChooser') AND `fe_elements`.`id` IN (2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.9ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 37', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 38', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:30' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 39', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:30' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:30', '2024-06-18 02:08:30', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 40', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:31' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 7 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 8  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (45.6ms) TRUNCATE TABLE `fe_addresses`  (27.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (10.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 41', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31') Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 42', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:31' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 43', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:31' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31', 4, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 44', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:31' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:31', '2024-06-18 02:08:31', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 5 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 4 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 6  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (47.2ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (38.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (25.9ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 45', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 46', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 47', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 4) Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 4, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 48', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.7ms) SET FOREIGN_KEY_CHECKS = 0  (44.3ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (23.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (25.0ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionGrid Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 49', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 50', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 51', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 52', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:08:32' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid conditional visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:08:32', '2024-06-18 02:08:32', 2, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.4ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 9  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (47.6ms) TRUNCATE TABLE `fe_addresses`  (26.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_answers`  (25.8ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.9ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (1.1ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (3.9ms) select table_name from information_schema.views where table_schema = 'fe_test'  (25.0ms) TRUNCATE TABLE `fe_addresses`  (25.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (43.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (26.2ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (27.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (24.4ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (22.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (26.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.8ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (26.5ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (23.2ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (3.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:03', '2024-06-18 02:15:03')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 02:15:03', '2024-06-18 02:15:03') Fe::Page Load (6.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Answer Create (3.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '1/12/2013', '2024-06-18 02:15:03', '2024-06-18 02:15:03')  (3.8ms) COMMIT Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (24.9ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (22.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_references`  (23.3ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:03', '2024-06-18 02:15:03')  (1.5ms) COMMIT  (3.5ms) BEGIN Fe::DateField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 02:15:03', '2024-06-18 02:15:03') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:03 UTC', '2024-06-18 02:15:03', '2024-06-18 02:15:03')  (1.3ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.0ms) TRUNCATE TABLE `fe_answers`  (27.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (24.9ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:04', '2024-06-18 02:15:04')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::DateField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::DateField', 'date', '2024-06-18 02:15:04', '2024-06-18 02:15:04') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, '13/12/2013', '2024-06-18 02:15:04', '2024-06-18 02:15:04')  (1.4ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (24.9ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.8ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (38.2ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (32.7ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (2.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 1', '2024-06-18 02:15:05', '2024-06-18 02:15:05')  (3.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:05.457870' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 1) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 1', 1, '2024-06-18 02:15:05', '2024-06-18 02:15:05')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:05', '2024-06-18 02:15:05', TRUE) Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (3.9ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:05', '2024-06-18 02:15:05') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:05', '2024-06-18 02:15:05', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:05', '2024-06-18 02:15:05', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:05', '2024-06-18 02:15:05') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:05' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:05', '2024-06-18 02:15:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:05' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:05', '2024-06-18 02:15:05') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:05' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:05', '2024-06-18 02:15:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:05' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:05', '2024-06-18 02:15:05')  (1.6ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (34.2ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (29.9ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (35.4ms) TRUNCATE TABLE `fe_references`  (24.1ms) TRUNCATE TABLE `fe_users`  (29.7ms) TRUNCATE TABLE `phone_numbers`  (24.1ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (5.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 2', '2024-06-18 02:15:06', '2024-06-18 02:15:06')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:06.423430' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 2) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 2', 2, '2024-06-18 02:15:06', '2024-06-18 02:15:06')  (23.6ms) COMMIT  (0.9ms) BEGIN Fe::TextField Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:06', '2024-06-18 02:15:06', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:06', '2024-06-18 02:15:06') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:06', '2024-06-18 02:15:06', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:06', '2024-06-18 02:15:06', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:06', '2024-06-18 02:15:06') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:06' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:06', '2024-06-18 02:15:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:06' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:06', '2024-06-18 02:15:06') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:06' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:06', '2024-06-18 02:15:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:06', '2024-06-18 02:15:06')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (24.3ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 3', '2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:07.158718' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 3) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 3', 3, '2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:07' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:07' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:07' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:07' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::Answer Create (4.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, '', '2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.3ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (22.0ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (23.1ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 4', '2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:07.918619' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 4) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 4', 4, '2024-06-18 02:15:07', '2024-06-18 02:15:07')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:07', '2024-06-18 02:15:07', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.5ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (29.1ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (5.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:08', '2024-06-18 02:15:08')  (1.5ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (28.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (44.8ms) TRUNCATE TABLE `fe_elements`  (25.7ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (36.4ms) TRUNCATE TABLE `fe_references`  (28.6ms) TRUNCATE TABLE `fe_users`  (25.4ms) TRUNCATE TABLE `phone_numbers`  (22.5ms) TRUNCATE TABLE `users`  (29.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 5', '2024-06-18 02:15:08', '2024-06-18 02:15:08')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (4.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:08.741910' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 5) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 5', 5, '2024-06-18 02:15:08', '2024-06-18 02:15:08')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:08', '2024-06-18 02:15:08', TRUE) Fe::Page Load (6.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (31.0ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (1.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:08', '2024-06-18 02:15:08', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:08', '2024-06-18 02:15:08', TRUE) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:08', '2024-06-18 02:15:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:08' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:09' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:09', '2024-06-18 02:15:09')  (1.2ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.4ms) BEGIN Fe::TextField Update (1.5ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2', `updated_at` = '2024-06-18 02:15:09' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (1.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:09', '2024-06-18 02:15:09')  (1.7ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'choice 1', '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 6', '2024-06-18 02:15:09', '2024-06-18 02:15:09')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:09.819279' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 6) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 6', 6, '2024-06-18 02:15:09', '2024-06-18 02:15:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:09', '2024-06-18 02:15:09', TRUE) Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:09', '2024-06-18 02:15:09', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:09', '2024-06-18 02:15:09', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:09' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:09' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:09', '2024-06-18 02:15:09') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:09' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.4ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `kind` = 'Fe::ChoiceField', `style` = 'checkbox', `content` = 'choice 1\nchoice 2', `updated_at` = '2024-06-18 02:15:10' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 1', '2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.8ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'choice 2', '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 OFFSET 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.3ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (24.2ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 7', '2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:10.609292' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 7) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 7', 7, '2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf1', TRUE, TRUE, '2024-06-18 02:15:10', '2024-06-18 02:15:10', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'vis1', TRUE, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'conf2', TRUE, TRUE, '2024-06-18 02:15:10', '2024-06-18 02:15:10', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'vis2', TRUE, '2024-06-18 02:15:10', '2024-06-18 02:15:10', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:10' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:10' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:10', '2024-06-18 02:15:10') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:10' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.5ms) COMMIT Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'a text response', '2024-06-18 02:15:10', '2024-06-18 02:15:10')  (1.7ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'an updated response' WHERE `fe_answers`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (2.1ms) SELECT COUNT(*) FROM `fe_answers` Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` ORDER BY `fe_answers`.`id` ASC LIMIT 1  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (27.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (27.8ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (26.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (27.9ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 8', '2024-06-18 02:15:12', '2024-06-18 02:15:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:13.010311' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 8) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 8', 8, '2024-06-18 02:15:12', '2024-06-18 02:15:12')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 1', TRUE, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:13' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 2', TRUE, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 3', TRUE, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:13' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 4', TRUE, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.4ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (27.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 9', '2024-06-18 02:15:13', '2024-06-18 02:15:13')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:13.979316' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 9) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 9', 9, '2024-06-18 02:15:13', '2024-06-18 02:15:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 5', TRUE, '2024-06-18 02:15:13', '2024-06-18 02:15:13') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:14' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 6', TRUE, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 7', TRUE, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:14' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.5ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 8', TRUE, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (32.1ms) TRUNCATE TABLE `fe_answers`  (27.9ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (28.7ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 10', '2024-06-18 02:15:14', '2024-06-18 02:15:14')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 11', '2024-06-18 02:15:14', '2024-06-18 02:15:14')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:14.677473' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 10) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (2, 'Label Page 10', 10, '2024-06-18 02:15:14', '2024-06-18 02:15:14', '')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 12', '2024-06-18 02:15:14', '2024-06-18 02:15:14')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:14.712848' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 11) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (3, 'Label Page 11', 11, '2024-06-18 02:15:14', '2024-06-18 02:15:14', '')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 9', TRUE, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:15:14', '2024-06-18 02:15:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:14' WHERE `fe_pages`.`id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 10) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:14.790436' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 10) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 11) AND (`fe_pages`.id != 2) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:14.806746' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 2) AND (`fe_pages`.`number` >= 11) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.1ms) TRUNCATE TABLE `fe_pages`  (22.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 13', '2024-06-18 02:15:15', '2024-06-18 02:15:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:15.261180' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 12) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 12', 12, '2024-06-18 02:15:15', '2024-06-18 02:15:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 10', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:15' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 11', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 12', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 13', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 2, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:15' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:15.512661' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 13) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 13', 13, '2024-06-18 02:15:15', '2024-06-18 02:15:15')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 14', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 5, 1, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:15' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::TextField', 'short', 'Label Element 15', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (5, 'Fe::Section', 'section', 'Label Element 16', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 6 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 17', TRUE, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 8, 2, '2024-06-18 02:15:15', '2024-06-18 02:15:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 5 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '5,6,7,8' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:15' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=8 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (30.5ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 14', '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 15', '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:16.175626' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 14) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 14', 14, '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 14) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:16.194964' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 14) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (8.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (28.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.8ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 16', '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:16.651166' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 15) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 15', 15, '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 18', TRUE, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:16' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 19', TRUE, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:16.788965' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 16) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 16', 16, '2024-06-18 02:15:16', '2024-06-18 02:15:16')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 20', TRUE, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 3, 1, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:16' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 21', TRUE, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 4, 2, '2024-06-18 02:15:16', '2024-06-18 02:15:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:16' WHERE `fe_pages`.`id` = 2  (2.0ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '4,3' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 4, 3) ORDER BY id=2 DESC, id=1 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (26.7ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.4ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: dd88d657-79f7-4a02-8c34-8fb1d6095c5e) to Test(default) with arguments: #>, [1] Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (34.7ms) TRUNCATE TABLE `fe_addresses`  (29.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 17', '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:17.798031' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 17) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 17', 17, '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:17.824037' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 18) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 18', 18, '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:17.846474' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 19) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 19', 19, '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:17.868765' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 20) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 20', 20, '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:17.892026' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 21) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 21', 21, '2024-06-18 02:15:17', '2024-06-18 02:15:17')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 22', TRUE, '2024-06-18 02:15:18', '2024-06-18 02:15:18') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (4.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (4.0ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:18', '2024-06-18 02:15:18') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 23', TRUE, '2024-06-18 02:15:18', '2024-06-18 02:15:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:18', '2024-06-18 02:15:18') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (0.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:18' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (2.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 18', '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:18.304420' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 22) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 22', 22, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:18.328904' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 23) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 23', 23, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:18.352493' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 24) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 24', 24, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:18.375496' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 25) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 25', 25, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:18.398993' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 26) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 26', 26, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:15:18', '2024-06-18 02:15:18')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 24', TRUE, '2024-06-18 02:15:18', '2024-06-18 02:15:18') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (16.5ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.4ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (25.5ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (26.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (24.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 19', '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (4.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (4.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:19.368187' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 27) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 27', 27, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (3.1ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:19.419165' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 28) Fe::Page Create (1.6ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 28', 28, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (5.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:19.463620' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 29) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 29', 29, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:19.489107' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 30) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 30', 30, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:19.512305' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 31) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 31', 31, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:19', '2024-06-18 02:15:19', 5, 'Fe::Page', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:19', '2024-06-18 02:15:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:19' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 02:15:19', '2024-06-18 02:15:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 02:15:19', '2024-06-18 02:15:19') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:19' WHERE `fe_pages`.`id` = 5  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:19', '2024-06-18 02:15:19')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (1.3ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.2ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:15:19', '2024-06-18 02:15:19')  (3.6ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (37.0ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (53.2ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (39.0ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 20', '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:21.122973' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 32) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 32', 32, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:21.159084' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 33) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 33', 33, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:21.183286' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 34) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 34', 34, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:21.227077' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 35) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 35', 35, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:21.251806' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 36) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 36', 36, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the enclosed element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:21', '2024-06-18 02:15:21', 'Fe::Element') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:21', '2024-06-18 02:15:21') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:21' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the enclosing element', TRUE, '2024-06-18 02:15:21', '2024-06-18 02:15:21', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:15:21', '2024-06-18 02:15:21') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (0.9ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:21' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.6ms) COMMIT Fe::Answer Load (4.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (28.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (35.7ms) TRUNCATE TABLE `fe_conditions`  (40.9ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (25.7ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 21', '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:22.003266' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 37) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 37', 37, '2024-06-18 02:15:21', '2024-06-18 02:15:21')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:22.029980' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 38) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 38', 38, '2024-06-18 02:15:22', '2024-06-18 02:15:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:22.053392' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 39) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 39', 39, '2024-06-18 02:15:22', '2024-06-18 02:15:22')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:22.077649' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 40) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 40', 40, '2024-06-18 02:15:22', '2024-06-18 02:15:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:22.101484' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 41) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 41', 41, '2024-06-18 02:15:22', '2024-06-18 02:15:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:22', '2024-06-18 02:15:22', 'Fe::Element') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (2.1ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:22', '2024-06-18 02:15:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:22' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved', TRUE, '2024-06-18 02:15:22', '2024-06-18 02:15:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:15:22', '2024-06-18 02:15:22') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:22' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be moved to become hidden', TRUE, '2024-06-18 02:15:22', '2024-06-18 02:15:22') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.8ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 3, 3, '2024-06-18 02:15:22', '2024-06-18 02:15:22') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:22' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_page_elements`.`page_id` = 4 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.1ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:15:22.364092' WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:22' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 3 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 1  (1.8ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (26.4ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (37.2ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (23.7ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 22', '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:23.690030' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 42) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 42', 42, '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:23.715082' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 43) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 43', 43, '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:23.738357' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 44) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 44', 44, '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:23.763662' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 45) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 45', 45, '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:23.788595' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 46) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 46', 46, '2024-06-18 02:15:23', '2024-06-18 02:15:23')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL1', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:23', '2024-06-18 02:15:23') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:23', '2024-06-18 02:15:23') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:23' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ChoiceField', 'yes-no', 'LVL2', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:23', '2024-06-18 02:15:23', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1  (0.4ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'LVL3 (GRID)', TRUE, '2024-06-18 02:15:23', '2024-06-18 02:15:23', 2) Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::ChoiceField', 'yes-no', 'LVL4', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:23', '2024-06-18 02:15:23') Fe::QuestionGrid Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::TextField', 'short', 'EL (LVL5)', TRUE, '2024-06-18 02:15:24', '2024-06-18 02:15:24', 4) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.4ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.2ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (6.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'yes', '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 4, 'yes', '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 4 LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.9ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 2  (2.0ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (3.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Load (2.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::ChoiceField Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (26.5ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 23', '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:24.894524' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 47) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 47', 47, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:24.920801' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 48) Fe::Page Create (2.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 48', 48, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:24.946848' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 49) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 49', 49, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:24.969693' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 50) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 50', 50, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:24.992585' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 51) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 51', 51, '2024-06-18 02:15:24', '2024-06-18 02:15:24')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next page', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:25', '2024-06-18 02:15:25', 5, 'Fe::Page', 'yes') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:25', '2024-06-18 02:15:25') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:25' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer on a hidden page', TRUE, '2024-06-18 02:15:25', '2024-06-18 02:15:25') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 5 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (5, 2, 1, '2024-06-18 02:15:25', '2024-06-18 02:15:25') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:25' WHERE `fe_pages`.`id` = 5  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:25', '2024-06-18 02:15:25')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:25', '2024-06-18 02:15:25')  (1.4ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:15:25', '2024-06-18 02:15:25')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 5 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 5 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'no' WHERE `fe_answers`.`id` = 1  (3.4ms) COMMIT Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 5 ORDER BY id=1 DESC, id=2 DESC Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.3ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (22.3ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (26.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (25.7ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 24', '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.182997' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 52) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 52', 52, '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.208840' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 53) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 53', 53, '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.230963' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 54) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 54', 54, '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.254106' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 55) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 55', 55, '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.277283' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 56) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 56', 56, '2024-06-18 02:15:26', '2024-06-18 02:15:26')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::ChoiceField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:26', '2024-06-18 02:15:26', 5, 'Fe::Page') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:26', '2024-06-18 02:15:26') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:26' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 1  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1)  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 2 WHERE `fe_pages`.`id` = 2  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 2)  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 3 WHERE `fe_pages`.`id` = 3  (0.9ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 3)  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `number` = 1 WHERE `fe_pages`.`id` = 4  (1.1ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 1) Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.418766' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 4) AND (`fe_pages`.`number` >= 1) AND (`fe_pages`.`number` < 55)  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `number` = 4 WHERE `fe_pages`.`id` = 5  (1.0ms) SELECT COUNT(*) FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` = 4) Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:26.443748' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 5) AND (`fe_pages`.`number` >= 4) AND (`fe_pages`.`number` < 56)  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (25.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (39.7ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (23.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (44.4ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (75.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (24.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.3ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 25', '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:27.785241' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 57) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 57', 57, '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:27.811148' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 58) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 58', 58, '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:27.834692' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 59) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 59', 59, '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:27.858317' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 60) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 60', 60, '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:27.881002' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 61) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 61', 61, '2024-06-18 02:15:27', '2024-06-18 02:15:27')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:27', '2024-06-18 02:15:27', 'Fe::Element') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:27', '2024-06-18 02:15:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:27' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 02:15:27', '2024-06-18 02:15:27') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:15:27', '2024-06-18 02:15:27') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:28' WHERE `fe_pages`.`id` = 4  (1.4ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (41.1ms) TRUNCATE TABLE `users`  (38.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 26', '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:28.509220' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 62) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 62', 62, '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:28.534163' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 63) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 63', 63, '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:28.556451' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 64) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 64', 64, '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:28.579081' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 65) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 65', 65, '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:28.601912' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 66) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 66', 66, '2024-06-18 02:15:28', '2024-06-18 02:15:28')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::ChoiceField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next pag', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:28', '2024-06-18 02:15:28', 5, 'Fe::Page') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:28', '2024-06-18 02:15:28') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:28' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 5 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms)[0m TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (25.7ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (19.1ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionGrid Create (10.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 25', TRUE, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (10.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 26', TRUE, 0, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.8ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 27', TRUE, 1, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::QuestionGrid Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 27', '2024-06-18 02:15:29', '2024-06-18 02:15:29')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:29.225210' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 67) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 67', 67, '2024-06-18 02:15:29', '2024-06-18 02:15:29')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:29' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (1.2ms) SELECT MAX(`fe_elements`.`position`) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `position`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 27', TRUE, 2, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position DESC, id DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (25.0ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (10.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 28', TRUE, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 29', TRUE, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 30', TRUE, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 28', '2024-06-18 02:15:29', '2024-06-18 02:15:29')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:29.863023' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 68) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 68', 68, '2024-06-18 02:15:29', '2024-06-18 02:15:29')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:29', '2024-06-18 02:15:29') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:29' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 30', TRUE, '2024-06-18 02:15:30', '2024-06-18 02:15:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 4, 4, '2024-06-18 02:15:30', '2024-06-18 02:15:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.3ms) SELECT COUNT(*) FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position DESC, `fe_page_elements`.`position` DESC LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (25.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 29', '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:30.522056' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 69) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 69', 69, '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:30.547171' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 70) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 70', 70, '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:30.569701' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 71) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 71', 71, '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:30.591841' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 72) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 72', 72, '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:30.614549' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 73) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 73', 73, '2024-06-18 02:15:30', '2024-06-18 02:15:30')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 31', TRUE, '2024-06-18 02:15:30', '2024-06-18 02:15:30') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:30', '2024-06-18 02:15:30') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:30' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:30', '2024-06-18 02:15:30', 'Fe::Element') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 02:15:30', '2024-06-18 02:15:30') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (22.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (24.1ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 30', '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.248088' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 74) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 74', 74, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.273488' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 75) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 75', 75, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.297249' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 76) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 76', 76, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.320583' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 77) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 77', 77, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.343285' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 78) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 78', 78, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 32', TRUE, '2024-06-18 02:15:31', '2024-06-18 02:15:31') Fe::Page Load (4.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:15:31', '2024-06-18 02:15:31') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:31' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`) VALUES (1, 'Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will hide the next element', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:31', '2024-06-18 02:15:31', 'Fe::Element') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'This is a test of a short answer that will be hidden by the previous elemenet', TRUE, '2024-06-18 02:15:31', '2024-06-18 02:15:31') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2  (1.5ms) COMMIT Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (20.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 31', '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:31.980569' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 79) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 79', 79, '2024-06-18 02:15:31', '2024-06-18 02:15:31')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 33', TRUE, '2024-06-18 02:15:31', '2024-06-18 02:15:31') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:32', '2024-06-18 02:15:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 34', TRUE, '2024-06-18 02:15:32', '2024-06-18 02:15:32') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (26.4ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.4ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 35', TRUE, '2024-06-18 02:15:32', '2024-06-18 02:15:32') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 32', '2024-06-18 02:15:32', '2024-06-18 02:15:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:32.597137' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 80) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 80', 80, '2024-06-18 02:15:32', '2024-06-18 02:15:32')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 33', '2024-06-18 02:15:32', '2024-06-18 02:15:32')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:32.626979' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 81) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 81', 81, '2024-06-18 02:15:32', '2024-06-18 02:15:32')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:32', '2024-06-18 02:15:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:32' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:15:32', '2024-06-18 02:15:32') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:32' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.6ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (24.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 34', '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.190292' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 82) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 82', 82, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 36', TRUE, '2024-06-18 02:15:33', '2024-06-18 02:15:33') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:33', '2024-06-18 02:15:33') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:33' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 37', TRUE, '2024-06-18 02:15:33', '2024-06-18 02:15:33') Fe::QuestionGridWithTotal Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.9ms) TRUNCATE TABLE `fe_addresses`  (26.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (27.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 38', TRUE, TRUE, '2024-06-18 02:15:33', '2024-06-18 02:15:33', TRUE) Fe::Page Load (8.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 39', TRUE, TRUE, '2024-06-18 02:15:33', '2024-06-18 02:15:33', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.5ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 35', '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.860925' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 83) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 83', 83, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.884535' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 84) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 84', 84, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.907752' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 85) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 85', 85, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.930836' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 86) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 86', 86, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.953624' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 87) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 87', 87, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 36', '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:33.995677' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 88) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 88', 88, '2024-06-18 02:15:33', '2024-06-18 02:15:33')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.018181' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 89) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 89', 89, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.041017' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 90) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 90', 90, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.063724' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 91) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 91', 91, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.086736' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 92) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 92', 92, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 02:15:34', '2024-06-18 02:15:34') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:34' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.5ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 02:15:34', '2024-06-18 02:15:34') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:34' WHERE `fe_pages`.`id` = 6  (1.8ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'match', `updated_at` = '2024-06-18 02:15:34' WHERE `fe_answers`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (10.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 40', TRUE, TRUE, '2024-06-18 02:15:34', '2024-06-18 02:15:34', TRUE) Fe::Page Load (8.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 41', TRUE, TRUE, '2024-06-18 02:15:34', '2024-06-18 02:15:34', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.7ms) COMMIT Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 37', '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.770062' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 93) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 93', 93, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.794934' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 94) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 94', 94, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.819490' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 95) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 95', 95, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.842148' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 96) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 96', 96, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.864612' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 97) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 97', 97, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 38', '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.907706' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 98) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 98', 98, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.930070' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 99) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 99', 99, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.952505' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 100) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 100', 100, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.975025' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 101) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 101', 101, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:34.998156' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 102) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 102', 102, '2024-06-18 02:15:34', '2024-06-18 02:15:34')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 02:15:35', '2024-06-18 02:15:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:35' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 02:15:35', '2024-06-18 02:15:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:35' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.1ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (22.7ms) TRUNCATE TABLE `fe_answers`  (25.5ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (24.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 42', TRUE, TRUE, '2024-06-18 02:15:35', '2024-06-18 02:15:35', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 43', TRUE, TRUE, '2024-06-18 02:15:35', '2024-06-18 02:15:35', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.5ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 39', '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.658147' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 103) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 103', 103, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.682340' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 104) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 104', 104, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.705453' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 105) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 105', 105, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.729124' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 106) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 106', 106, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.751370' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 107) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 107', 107, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 40', '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.796120' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 108) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 108', 108, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.819373' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 109) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 109', 109, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.841991' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 110) Fe::Page Create (1.4ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 110', 110, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.865114' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 111) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 111', 111, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:35.887926' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 112) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 112', 112, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:15:35', '2024-06-18 02:15:35')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 02:15:35', '2024-06-18 02:15:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:35' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 02:15:35', '2024-06-18 02:15:35') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:35' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 41', '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.024309' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 113) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 113', 113, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.047165' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 114) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 114', 114, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.069822' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 115) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 115', 115, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.092721' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 116) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 116', 116, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.115291' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 117) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 117', 117, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.4ms) COMMIT Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 6 LIMIT 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::QuestionSheet Exists (1.7ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (2.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (37.6ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_answers`  (28.4ms) TRUNCATE TABLE `fe_applications`  (43.0ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (25.9ms) TRUNCATE TABLE `fe_email_templates`  (33.7ms) TRUNCATE TABLE `fe_page_elements`  (60.8ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (26.9ms) TRUNCATE TABLE `fe_users`  (24.6ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 44', TRUE, TRUE, '2024-06-18 02:15:36', '2024-06-18 02:15:36', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 45', TRUE, TRUE, '2024-06-18 02:15:36', '2024-06-18 02:15:36', 'Fe::Element', 'match', TRUE) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.7ms) COMMIT Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'nomatch', '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 42', '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.788485' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 118) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 118', 118, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.812172' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 119) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 119', 119, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.834813' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 120) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 120', 120, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.858815' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 121) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 121', 121, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.882141' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 122) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 122', 122, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 43', '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.924655' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 123) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 123', 123, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.947288' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 124) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 124', 124, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.970064' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 125) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 125', 125, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:36.993919' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 126) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 126', 126, '2024-06-18 02:15:36', '2024-06-18 02:15:36')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:37.018184' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 127) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 127', 127, '2024-06-18 02:15:37', '2024-06-18 02:15:37')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:15:37', '2024-06-18 02:15:37')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 02:15:37', '2024-06-18 02:15:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:37' WHERE `fe_pages`.`id` = 6  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 1, 2, '2024-06-18 02:15:37', '2024-06-18 02:15:37') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 6 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:37' WHERE `fe_pages`.`id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 44', '2024-06-18 02:15:37', '2024-06-18 02:15:37')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:37.151759' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 128) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 128', 128, '2024-06-18 02:15:37', '2024-06-18 02:15:37')  (1.5ms) COMMIT Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 3 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (22.2ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (19.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ChoiceField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `content_translations`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 46', '1\r\n2', TRUE, '2024-06-18 02:15:37', '2024-06-18 02:15:37', '---\nfr: \'\'\n') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (23.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::TextField Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 47', TRUE, '2024-06-18 02:15:38', '2024-06-18 02:15:38', '---\nfr: \'\'\n', '---\nfr: \'\'\n', '---\nfr: \'\'\n') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.8ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (169.2ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (41.0ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (19.9ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (33.7ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (22.1ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `label_translations`, `tip_translations`, `content_translations`) VALUES ('Fe::TextField', 'short', 'Label Element 48', TRUE, '2024-06-18 02:15:38', '2024-06-18 02:15:38', '---\nfr: fr label\n', '---\nfr: fr tip\n', '---\nfr: fr content\n') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 49', TRUE, TRUE, '2024-06-18 02:15:39', '2024-06-18 02:15:39', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 50', TRUE, TRUE, '2024-06-18 02:15:39', '2024-06-18 02:15:39', TRUE) Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (30.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 51', TRUE, TRUE, '2024-06-18 02:15:39', '2024-06-18 02:15:39', TRUE) Fe::Page Load (7.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (36.8ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `css_class`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 52', TRUE, 'a 1 2', '2024-06-18 02:15:40', '2024-06-18 02:15:40') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (34.4ms) TRUNCATE TABLE `fe_conditions`  (32.6ms) TRUNCATE TABLE `fe_elements`  (20.1ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (24.1ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 53', TRUE, '2024-06-18 02:15:40', '2024-06-18 02:15:40') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (34.0ms) TRUNCATE TABLE `fe_references`  (25.1ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'short', 'Label Element 54', TRUE, TRUE, '2024-06-18 02:15:41', '2024-06-18 02:15:41', TRUE) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:41', '2024-06-18 02:15:41')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (21.5ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (22.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (26.0ms) TRUNCATE TABLE `phone_numbers`  (21.6ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:41', '2024-06-18 02:15:41')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (2.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:15:41', '2024-06-18 02:15:41')  (1.5ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (29.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:42', '2024-06-18 02:15:42')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:15:42', '2024-06-18 02:15:42')  (1.3ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (19.4ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 55', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 56', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:42' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (2.3ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 57', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:42' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42', 4, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (0.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 58', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:42' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:42', '2024-06-18 02:15:42', 7, 'Fe::Element', 'yes') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.8ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 5 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 4 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 6  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.4ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 59', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 60', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:43' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 61', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 4) Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:43' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 4, 'Fe::Element', 'yes') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 62', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:43' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.8ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 7, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid conditional visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 2, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (7.0ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 9  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.4ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (26.9ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (23.2ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 63', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:43', '2024-06-18 02:15:43', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 64', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 65', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 4) Fe::ChoiceField Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 4, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 66', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 7 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 8  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (48.1ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (26.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (29.9ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionGrid Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 67', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the grid visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::ReferenceQuestion', 'staff', 'Label Element 68', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'is the ref element inside this element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 69', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 4) Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 5 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next choice element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 4, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 70', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:44' WHERE `fe_references`.`question_id` = 7 AND `fe_references`.`status` = 'created'  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the next ref element visible?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:15:44', '2024-06-18 02:15:44', 7, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.6ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (45.6ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (23.7ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 71', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (8.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:45' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 72', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 73', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT Fe::Question Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::Question', 'Fe::ChoiceField', 'Fe::DateField', 'Fe::TextField', 'Fe::ReferenceQuestion', 'Fe::AttachmentField', 'Fe::StateChooser') AND `fe_elements`.`id` IN (2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.7ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (27.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:45', '2024-06-18 02:15:45')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:15:45', '2024-06-18 02:15:45')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 74', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (8.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 75', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 76', TRUE, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 45', '2024-06-18 02:15:45', '2024-06-18 02:15:45')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:45.854876' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 129) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 129', 129, '2024-06-18 02:15:45', '2024-06-18 02:15:45')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:45' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:45', '2024-06-18 02:15:45') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.2ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (23.9ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (40.3ms) TRUNCATE TABLE `fe_people`  (37.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.2ms) TRUNCATE TABLE `phone_numbers`  (26.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 77', TRUE, '2024-06-18 02:15:46', '2024-06-18 02:15:46') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 78', TRUE, '2024-06-18 02:15:46', '2024-06-18 02:15:46', 'test') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 79', TRUE, '2024-06-18 02:15:46', '2024-06-18 02:15:46') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = 3, `conditional_type` = 'Fe::Element' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 46', '2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:46.569652' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 130) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 130', 130, '2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:46', '2024-06-18 02:15:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:46' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:46', '2024-06-18 02:15:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:46' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:15:46', '2024-06-18 02:15:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `conditional_id` = 3 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:46' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.2ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.0ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.0ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.6ms) BEGIN  (0.5ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 2, 'nomatch', '2024-06-18 02:15:46', '2024-06-18 02:15:46')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (24.3ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::Paragraph Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'abc', '2024-06-18 02:15:47', '2024-06-18 02:15:47') Fe::Page Load (7.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Paragraph Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `content`, `created_at`, `updated_at`) VALUES ('Fe::Paragraph', 'paragraph', 'Lorem ipsum...', '2024-06-18 02:15:47', '2024-06-18 02:15:47') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (28.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (27.2ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.1ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 47', '2024-06-18 02:15:48', '2024-06-18 02:15:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:15:48', '2024-06-18 02:15:48', 1) Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.7ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:15:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::ReferenceSheet Create (1.2ms) INSERT INTO `fe_references` (`question_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 'relationship_1', 'fn_1', 'ln_1', 'phone_1', 'email_1@email.com', 'created', '2024-06-18 02:15:48', '2024-06-18 02:15:48', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` IS NULL Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:15:48' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 48', '2024-06-18 02:15:48', '2024-06-18 02:15:48')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceQuestion Update (1.1ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 02:15:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 49', '2024-06-18 02:15:48', '2024-06-18 02:15:48')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Update (1.4ms) UPDATE `fe_elements` SET `related_question_sheet_id` = 3 WHERE `fe_elements`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 3, `fe_references`.`updated_at` = '2024-06-18 02:15:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT Fe::ReferenceSheet Load (0.9ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (23.8ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:15:48', '2024-06-18 02:15:48') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:48' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (25.6ms) TRUNCATE TABLE `fe_people`  (26.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:15:49', '2024-06-18 02:15:49') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:15:49' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (25.0ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (39.2ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (39.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (25.1ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (25.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 80', TRUE, 'test', '2024-06-18 02:15:51', '2024-06-18 02:15:51') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 50', '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:51.464988' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 131) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 131', 131, '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:51.488865' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 132) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 132', 132, '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:51.511397' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 133) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 133', 133, '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:51.533875' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 134) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 134', 134, '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:51.557194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 135) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 135', 135, '2024-06-18 02:15:51', '2024-06-18 02:15:51')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:51', '2024-06-18 02:15:51') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:51' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 81', TRUE, '2024-06-18 02:15:51', '2024-06-18 02:15:51') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.9ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:15:51', '2024-06-18 02:15:51') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:51' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1  (0.5ms) ROLLBACK  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (40.1ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.7ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `slug`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 82', TRUE, 'test', '2024-06-18 02:15:52', '2024-06-18 02:15:52') Fe::Page Load (7.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 51', '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.204647' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 136) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 136', 136, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.227531' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 137) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 137', 137, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.250121' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 138) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 138', 138, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.272912' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 139) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 139', 139, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.296852' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 140) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 140', 140, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:15:52', '2024-06-18 02:15:52') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`slug` = 'test' AND (id != 1) LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:52' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 83', TRUE, '2024-06-18 02:15:52', '2024-06-18 02:15:52') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 52', '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.393122' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 141) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 141', 141, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.416589' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 142) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 142', 142, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.439255' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 143) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 143', 143, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.462532' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 144) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 144', 144, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:15:52.485821' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 145) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 145', 145, '2024-06-18 02:15:52', '2024-06-18 02:15:52')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 6 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (6, 2, 1, '2024-06-18 02:15:52', '2024-06-18 02:15:52') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:15:52' WHERE `fe_pages`.`id` = 6  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`slug` = 'test' AND (id != 2) LIMIT 1 Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `slug` = 'test' WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 6 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (23.4ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (26.5ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.0ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (39.0ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 84', TRUE, '2024-06-18 02:15:53', '2024-06-18 02:15:53') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 85', TRUE, '2024-06-18 02:15:53', '2024-06-18 02:15:53') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 86', TRUE, '2024-06-18 02:15:53', '2024-06-18 02:15:53') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (21.8ms) TRUNCATE TABLE `fe_page_elements`  (19.8ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (23.4ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 87', TRUE, '2024-06-18 02:15:53', '2024-06-18 02:15:53') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 88', TRUE, '2024-06-18 02:15:53', '2024-06-18 02:15:53') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:15:53', '2024-06-18 02:15:53')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::AttachmentField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::AttachmentField', 'section', 'Label Element 89', TRUE, '2024-06-18 02:15:54', '2024-06-18 02:15:54') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `attachment_file_name`, `created_at`, `updated_at`) VALUES (1, 3, 'test_file', 'test_file', '2024-06-18 02:15:54', '2024-06-18 02:15:54')  (1.4ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1  (0.4ms) BEGIN Fe::Answer Destroy (1.0ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (26.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 90', TRUE, '2024-06-18 02:15:54', '2024-06-18 02:15:54') Fe::Page Load (7.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 91', TRUE, '2024-06-18 02:15:54', '2024-06-18 02:15:54') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 92', TRUE, '2024-06-18 02:15:54', '2024-06-18 02:15:54') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (29.9ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (26.1ms) TRUNCATE TABLE `fe_pages`  (41.3ms) TRUNCATE TABLE `fe_people`  (37.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (25.9ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 93', TRUE, '2024-06-18 02:15:55', '2024-06-18 02:15:55') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 94', TRUE, '2024-06-18 02:15:55', '2024-06-18 02:15:55') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 95', TRUE, '2024-06-18 02:15:55', '2024-06-18 02:15:55') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (32.9ms) TRUNCATE TABLE `fe_elements`  (24.4ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.1ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (2.7ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:55', '2024-06-18 02:15:55')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.2ms) Fe::Notifier#notification: processed outbound mail in 555.5ms  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (39.7ms) TRUNCATE TABLE `fe_addresses`  (26.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (23.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:56', '2024-06-18 02:15:56')  (1.5ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.6ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (35.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.2ms) TRUNCATE TABLE `fe_pages`  (22.3ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.3ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:56', '2024-06-18 02:15:56')  (1.3ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.5ms  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.7ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (40.2ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:57', '2024-06-18 02:15:57')  (1.7ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 9.0ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (23.5ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:57', '2024-06-18 02:15:57')  (1.4ms) COMMIT Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering html template Rendered html template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.3ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.5ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (27.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::EmailTemplate Create (4.9ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Staff Payment Request', 'test', TRUE, 'Staff Payment Request Subject', '2024-06-18 02:15:58', '2024-06-18 02:15:58')  (1.6ms) COMMIT Fe::EmailTemplate Load (1.1ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Staff Payment Request' LIMIT 1 Rendering text template Rendered text template (0.0ms) Fe::Notifier#notification: processed outbound mail in 7.5ms  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (24.8ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 53', TRUE, '2024-06-18 02:15:58', '2024-06-18 02:15:58')  (1.8ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#unarchive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = FALSE WHERE `fe_question_sheets`.`id` = 1  (1.6ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 12ms (ActiveRecord: 4.4ms) Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (23.9ms) TRUNCATE TABLE `users`  (27.3ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 54', '2024-06-18 02:15:59', '2024-06-18 02:15:59')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `archived`, `created_at`, `updated_at`) VALUES ('Question Sheet 55', TRUE, '2024-06-18 02:15:59', '2024-06-18 02:15:59')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = FALSE ORDER BY label Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`archived` = TRUE ORDER BY label Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/index.html.erb within layouts/fe/fe_admin (13.6ms) Completed 200 OK in 773ms (Views: 766.8ms | ActiveRecord: 2.3ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.0ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (25.0ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (23.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 56', '2024-06-18 02:16:00', '2024-06-18 02:16:00')  (1.5ms) COMMIT  (2.4ms) SELECT COUNT(*) FROM `fe_question_sheets` Processing by Fe::Admin::QuestionSheetsController#duplicate as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 56 - COPY', '2024-06-18 02:16:00', '2024-06-18 02:16:00')  (1.5ms) COMMIT Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Redirected to http://test.host/ Completed 302 Found in 18ms (ActiveRecord: 8.4ms)  (2.4ms) SELECT COUNT(*) FROM `fe_question_sheets` Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY `fe_question_sheets`.`id` DESC LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (45.1ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 57', '2024-06-18 02:16:00', '2024-06-18 02:16:00')  (1.3ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#archive as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::QuestionSheet Update (1.1ms) UPDATE `fe_question_sheets` SET `archived` = TRUE WHERE `fe_question_sheets`.`id` = 1  (1.5ms) COMMIT Redirected to http://test.host/ Completed 302 Found in 10ms (ActiveRecord: 4.2ms) Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (25.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (23.5ms) TRUNCATE TABLE `fe_pages`  (24.2ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (32.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (26.4ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 58', '2024-06-18 02:16:01', '2024-06-18 02:16:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:01.335028' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 146) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 146', 146, '2024-06-18 02:16:01', '2024-06-18 02:16:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:01.360610' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 147) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 147', 147, '2024-06-18 02:16:01', '2024-06-18 02:16:01')  (1.5ms) COMMIT Processing by Fe::Admin::QuestionSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/panels/_page.html.erb [2 times] (3.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_pages_list.html.erb (8.0ms) Fe::Element Load (11.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (17.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_sheets/show.html.erb within layouts/fe/fe_admin (38.5ms) Completed 200 OK in 58ms (Views: 37.0ms | ActiveRecord: 13.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.2ms) TRUNCATE TABLE `fe_answers`  (26.6ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.7ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (24.4ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.3ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (27.9ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.5ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (23.9ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (32.0ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (24.2ms) TRUNCATE TABLE `fe_pages`  (55.6ms) TRUNCATE TABLE `fe_people`  (22.3ms) TRUNCATE TABLE `fe_question_sheets`  (34.0ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.4ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (29.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.2ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (44.9ms) TRUNCATE TABLE `fe_answers`  (39.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (25.4ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (23.8ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (38.6ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (24.0ms) TRUNCATE TABLE `phone_numbers`  (22.8ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (42.0ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (25.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (33.2ms) TRUNCATE TABLE `fe_conditions`  (54.1ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (26.0ms) TRUNCATE TABLE `fe_page_elements`  (23.3ms) TRUNCATE TABLE `fe_pages`  (23.4ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (41.6ms) TRUNCATE TABLE `fe_references`  (22.8ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 59', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 96', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:05', '2024-06-18 02:16:05', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 60', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:05.345894' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 148) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 148', 148, '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 148) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:05.361648' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 148) Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.6ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:05', '2024-06-18 02:16:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:05' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Answer Create (0.8ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.3ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.2ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (29.7ms) TRUNCATE TABLE `fe_conditions`  (33.0ms) TRUNCATE TABLE `fe_elements`  (24.2ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 61', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 97', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:05', '2024-06-18 02:16:05', '') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 62', '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.1ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:05.936733' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 149) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 149', 149, '2024-06-18 02:16:05', '2024-06-18 02:16:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 149) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:05.952103' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 149) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:05', '2024-06-18 02:16:05') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:05' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.0ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (34.9ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (23.4ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (25.6ms) TRUNCATE TABLE `fe_pages`  (23.1ms) TRUNCATE TABLE `fe_people`  (23.7ms) TRUNCATE TABLE `fe_question_sheets`  (34.6ms) TRUNCATE TABLE `fe_references`  (46.3ms) TRUNCATE TABLE `fe_users`  (38.4ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 63', '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 98', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:06', '2024-06-18 02:16:06', 'a; b\n') Fe::Page Load (7.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 64', '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:06.567510' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 150) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 150', 150, '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 150) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:06.584014' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 150) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:06', '2024-06-18 02:16:06') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:06' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'a', '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 02:16:06', '2024-06-18 02:16:06')  (1.4ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (6.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 65', '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'drop-down', 'Label Element 99', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:07', '2024-06-18 02:16:07', 'a;b') Fe::Page Load (7.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 66', '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:07.179314' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 151) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 151', 151, '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 151) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:07.195388' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 151) Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:07', '2024-06-18 02:16:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:07' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'd', '2024-06-18 02:16:07', '2024-06-18 02:16:07')  (1.5ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (25.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (46.4ms) TRUNCATE TABLE `fe_answers`  (26.9ms) TRUNCATE TABLE `fe_applications`  (38.8ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (24.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (32.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.7ms) TRUNCATE TABLE `fe_answers`  (52.8ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (40.3ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (26.3ms) TRUNCATE TABLE `fe_page_elements`  (25.5ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (22.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (25.0ms) TRUNCATE TABLE `phone_numbers`  (24.3ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (27.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_answers`  (28.0ms) TRUNCATE TABLE `fe_applications`  (36.3ms) TRUNCATE TABLE `fe_conditions`  (41.2ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (33.3ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (32.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (24.5ms) TRUNCATE TABLE `phone_numbers`  (23.3ms) TRUNCATE TABLE `users`  (30.1ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.9ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (30.2ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (41.0ms) TRUNCATE TABLE `fe_elements`  (24.4ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (26.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (28.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (22.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (30.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (25.9ms) TRUNCATE TABLE `fe_applications`  (34.3ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (30.0ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 67', '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.472110' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 152) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 152', 152, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.498083' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 153) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 153', 153, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.521810' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 154) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 154', 154, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.545005' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 155) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 155', 155, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.568026' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 156) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 156', 156, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 100', TRUE, '2024-06-18 02:16:10', '2024-06-18 02:16:10') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:10' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:10', '2024-06-18 02:16:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:10' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:10' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 101', TRUE, '2024-06-18 02:16:10', '2024-06-18 02:16:10') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:10' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (2.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:10', '2024-06-18 02:16:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:10' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:10' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 68', '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.783889' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 157) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 157', 157, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.808174' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 158) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 158', 158, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.832447' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 159) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 159', 159, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.856133' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 160) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 160', 160, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:10.879466' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 161) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 161', 161, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:10', '2024-06-18 02:16:10')  (1.4ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (24.8ms) TRUNCATE TABLE `fe_pages`  (23.7ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (34.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 69', '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.342325' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 162) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 162', 162, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.368274' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 163) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 163', 163, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.392149' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 164) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 164', 164, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.415543' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 165) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 165', 165, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.438152' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 166) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 166', 166, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 102', TRUE, '2024-06-18 02:16:11', '2024-06-18 02:16:11') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (8.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:11' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:11', '2024-06-18 02:16:11') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:11' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 103', TRUE, '2024-06-18 02:16:11', '2024-06-18 02:16:11') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:11', '2024-06-18 02:16:11') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:11' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 70', '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.653259' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 167) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 167', 167, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.677762' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 168) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 168', 168, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.701953' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 169) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 169', 169, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.725580' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 170) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 170', 170, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:11.749470' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 171) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 171', 171, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:11', '2024-06-18 02:16:11')  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.5ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 71', '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.205048' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 172) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 172', 172, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.231382' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 173) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 173', 173, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.255445' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 174) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 174', 174, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.278308' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 175) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 175', 175, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.302585' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 176) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 176', 176, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 104', TRUE, '2024-06-18 02:16:12', '2024-06-18 02:16:12') Fe::Page Load (5.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (2.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (9.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:12' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:12', '2024-06-18 02:16:12') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:12' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:12' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 105', TRUE, '2024-06-18 02:16:12', '2024-06-18 02:16:12') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:12' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:12', '2024-06-18 02:16:12') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:12' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:12' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 72', '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.536110' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 177) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 177', 177, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.559916' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 178) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 178', 178, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.8ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.583391' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 179) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 179', 179, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.606037' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 180) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 180', 180, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:12.630238' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 181) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 181', 181, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:12', '2024-06-18 02:16:12')  (1.6ms) COMMIT  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (28.5ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (32.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 73', '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.080886' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 182) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 182', 182, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.106704' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 183) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 183', 183, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.132693' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 184) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 184', 184, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.157536' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 185) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 185', 185, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.181268' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 186) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 186', 186, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 106', TRUE, '2024-06-18 02:16:13', '2024-06-18 02:16:13') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:13' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:13', '2024-06-18 02:16:13') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:13' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:13' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 107', TRUE, '2024-06-18 02:16:13', '2024-06-18 02:16:13') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:13' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:13', '2024-06-18 02:16:13') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:13' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:13' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 74', '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.391714' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 187) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 187', 187, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.416501' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 188) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 188', 188, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.443173' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 189) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 189', 189, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.467427' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 190) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 190', 190, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.497095' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 191) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 191', 191, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.8ms) COMMIT  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.5ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.8ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (36.4ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (26.4ms) TRUNCATE TABLE `fe_page_elements`  (28.8ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (22.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (23.7ms) TRUNCATE TABLE `fe_users`  (31.0ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (25.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.4ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 75', '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:13.986111' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 192) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 192', 192, '2024-06-18 02:16:13', '2024-06-18 02:16:13')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.014136' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 193) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 193', 193, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.038759' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 194) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 194', 194, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.063049' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 195) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 195', 195, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.087001' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 196) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 196', 196, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 108', TRUE, '2024-06-18 02:16:14', '2024-06-18 02:16:14') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:14' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:14', '2024-06-18 02:16:14') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:14' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:14' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 109', TRUE, '2024-06-18 02:16:14', '2024-06-18 02:16:14') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:14', '2024-06-18 02:16:14') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:14' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:14' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 76', '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.318251' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 197) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 197', 197, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.345815' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 198) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 198', 198, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.377117' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 199) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 199', 199, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.407037' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 200) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 200', 200, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.437533' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 201) Fe::Page Create (2.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 201', 201, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (2.0ms) COMMIT Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (2.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.7ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.8ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.4ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (1.1ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (46.5ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (33.7ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 77', '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.954644' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 202) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 202', 202, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:14.980401' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 203) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 203', 203, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.003674' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 204) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 204', 204, '2024-06-18 02:16:14', '2024-06-18 02:16:14')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.026876' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 205) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 205', 205, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.049585' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 206) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 206', 206, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 110', TRUE, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:15' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 111', TRUE, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:15' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 78', '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.261405' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 207) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 207', 207, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.285881' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 208) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 208', 208, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.310338' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 209) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 209', 209, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.333842' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 210) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 210', 210, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:15.357155' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 211) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 211', 211, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.2ms) COMMIT Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.3ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.8ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2)  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 112', TRUE, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (6.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:15', '2024-06-18 02:16:15') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:15' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:15' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (1.4ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' ORDER BY id=1 DESC, id=2 DESC, id=3 DESC  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number  (0.7ms) SELECT `fe_elements`.`id` FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`kind` = 'Fe::ReferenceQuestion' Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (44.3ms) TRUNCATE TABLE `fe_addresses`  (28.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (39.0ms) TRUNCATE TABLE `fe_conditions`  (36.3ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (26.0ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (28.9ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (57.4ms) TRUNCATE TABLE `fe_references`  (23.8ms) TRUNCATE TABLE `fe_users`  (24.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 79', '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.003259' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 212) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 212', 212, '2024-06-18 02:16:15', '2024-06-18 02:16:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.029537' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 213) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 213', 213, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.053686' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 214) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 214', 214, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.077473' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 215) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 215', 215, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.101391' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 216) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 216', 216, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.9ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 113', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:16' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 114', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:16' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (5.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (6.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 80', '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.322841' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 217) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 217', 217, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.347881' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 218) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 218', 218, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.374342' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 219) Fe::Page Create (1.5ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 219', 219, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.399729' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 220) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 220', 220, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.426550' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 221) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 221', 221, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 81', '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.466168' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 222) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 222', 222, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.490442' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 223) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 223', 223, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.514442' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 224) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 224', 224, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.538027' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 225) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 225', 225, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:16.561925' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 226) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 226', 226, '2024-06-18 02:16:16', '2024-06-18 02:16:16')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:16' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 02:16:16', '2024-06-18 02:16:16') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:16' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 02:16:17', '2024-06-18 02:16:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:17' WHERE `fe_pages`.`id` = 11  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 02:16:17', '2024-06-18 02:16:17') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:17' WHERE `fe_pages`.`id` = 11  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 02:16:17', '2024-06-18 02:16:17') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:17' WHERE `fe_pages`.`id` = 12  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.6ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (1.2ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.4ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.0ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (13,14,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.2ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (25.7ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.7ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 82', '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:17.913078' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 227) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 227', 227, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:17.938924' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 228) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 228', 228, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:17.962298' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 229) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 229', 229, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:17.985501' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 230) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 230', 230, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.008286' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 231) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 231', 231, '2024-06-18 02:16:17', '2024-06-18 02:16:17')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 115', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:18' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:18' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 116', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:18' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:18' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 83', '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.213048' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 232) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 232', 232, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.235754' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 233) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 233', 233, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.258720' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 234) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 234', 234, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.281931' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 235) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 235', 235, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.305263' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 236) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 236', 236, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 84', '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.343144' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 237) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 237', 237, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.365444' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 238) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 238', 238, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.387713' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 239) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 239', 239, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.410170' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 240) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 240', 240, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:18.432718' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 241) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 241', 241, '2024-06-18 02:16:18', '2024-06-18 02:16:18')  (46.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.6ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (5.1ms) COMMIT  (0.6ms) BEGIN Fe::QuestionGrid Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18', 3) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (9.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18', 11) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:18' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:18' WHERE `fe_pages`.`id` = 11  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 02:16:18', '2024-06-18 02:16:18') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:18' WHERE `fe_pages`.`id` = 11  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 02:16:19', '2024-06-18 02:16:19') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:19' WHERE `fe_pages`.`id` = 11  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 02:16:19', '2024-06-18 02:16:19') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:19' WHERE `fe_pages`.`id` = 12  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.9ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.6ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.6ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.4ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.4ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.3ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.4ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted' WHERE `fe_people`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.7ms) COMMIT Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 13 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.3ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 13 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 14 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.4ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 14 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 15 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 15 Fe::Element Load (2.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (2.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 12 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 10 ORDER BY id=10 DESC  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.4ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9,10) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 10 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.9ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (23.2ms) TRUNCATE TABLE `fe_email_templates`  (25.3ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 85', '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:19.847680' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 242) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 242', 242, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:19.872843' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 243) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 243', 243, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:19.895184' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 244) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 244', 244, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:19.918054' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 245) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 245', 245, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:19.940515' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 246) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 246', 246, '2024-06-18 02:16:19', '2024-06-18 02:16:19')  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 117', TRUE, '2024-06-18 02:16:19', '2024-06-18 02:16:19') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:19' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.7ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:19', '2024-06-18 02:16:19') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:20' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 118', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:20' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:20' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.1ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 86', '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.141846' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 247) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 247', 247, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.168040' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 248) Fe::Page Create (1.6ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 248', 248, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (12.3ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.204023' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 249) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 249', 249, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.227053' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 250) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 250', 250, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.249551' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 251) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 251', 251, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 87', '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.288325' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 252) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 252', 252, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.312460' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 253) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 253', 253, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.335832' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 254) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 254', 254, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.359797' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 255) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 255', 255, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:20.382850' WHERE `fe_pages`.`question_sheet_id` = 3 AND (`fe_pages`.`number` >= 256) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (3, 'Label Page 256', 256, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.5ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number LIMIT 1 OFFSET 1  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno lvl1 hidden-gridparent', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'hidden grid', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20', 3) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden required2', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (4, 'Fe::TextField', 'short', 'lvl2 hidden optional', FALSE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 optional', FALSE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required', TRUE, 'applicant', 'first_name', '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'lvl1 required2', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'yesno2 lvl1 visible-gridparent2', 'Choice One\r\nChoice Two\r\nChoice Three', FALSE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::QuestionGrid', 'grid', 'visible grid', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20', 11) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 13 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible required2', TRUE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (12, 'Fe::TextField', 'short', 'lvl2 visible optional', FALSE, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 12 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 3, 1, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 11, 2, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 8, 3, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 11  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 11 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (11, 9, 4, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 11 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 11 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 11 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 12 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,6,7,11,12,13,14,15,8,9' WHERE `fe_pages`.`id` = 11 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 11  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 12 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (12, 10, 1, '2024-06-18 02:16:20', '2024-06-18 02:16:20') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 12 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 12 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '10' WHERE `fe_pages`.`id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 10 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:20' WHERE `fe_pages`.`id` = 12  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.6ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 3, 'no', '2024-06-18 02:16:20', '2024-06-18 02:16:20')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 11, 'yes', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 6 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 6, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 6 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 7 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 7, 'this answer is not counted, yesno parent is no so this is hidden', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 7 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 8 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 8, 'this answer is counted when optional included', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.7ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 8 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Person Update (1.2ms) UPDATE `fe_people` SET `first_name` = 'this answer is counted', `updated_at` = '2024-06-18 02:16:21' WHERE `fe_people`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 9 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 14 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 14, 'this answer is counted', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.5ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 14 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11 Fe::Answer Load (1.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 15 AND `fe_answers`.`answer_sheet_id` = 2  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (2, 15, 'this answer is counted when optional included', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 15 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 12 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 11  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 3, '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.7ms) COMMIT Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (1.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Load (2.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC, id=10 DESC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 3 ORDER BY number Fe::Element Exists (1.9ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 11 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9) ORDER BY id=3 DESC, id=4 DESC, id=5 DESC, id=6 DESC, id=7 DESC, id=11 DESC, id=12 DESC, id=13 DESC, id=14 DESC, id=15 DESC, id=8 DESC, id=9 DESC Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 4 ORDER BY position asc, id asc Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 7 LIMIT 1 Fe::ChoiceField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 11 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 11 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 11 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 12 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 13 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 14 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 15 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 8 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 3  (2.3ms) SELECT distinct(question_id) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 2 AND `fe_answers`.`question_id` IN (3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 8, 9, 10) AND ((question_id IN (3,11,13,14,15,8,9) AND value IS NOT NULL) AND (value != '')) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 13 AND `fe_answers`.`answer_sheet_id` = 2 AND (value IS NOT NULL AND value != '') Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.6ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (28.0ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.3ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (25.5ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 88', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:21.693650' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 257) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 257', 257, '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 119', TRUE, '2024-06-18 02:16:21', '2024-06-18 02:16:21') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:21', '2024-06-18 02:16:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:16:21', '2024-06-18 02:16:21') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:21' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.4ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_2', 'fn_2', 'ln_2', 'phone_2', 'initial@ref.com', 'created', '2024-06-18 02:16:21', '2024-06-18 02:16:21')  (1.4ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answers"=>{"1"=>"answer here"}, "reference"=>{"1"=>{"email"=>"email@reference.com", "first_name"=>"FN", "last_name"=>"LN", "phone"=>"phone", "relationship"=>"roommate", "title"=>"A"}}, "id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 02:16:21', '2024-06-18 02:16:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 41db798d-7534-479c-b482-60de2a6c9e0c) to Test(default) with arguments: #>, [1] Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '1860e8bc6a9064eb039d2ba14dbdae3c' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'roommate', `title` = 'A', `first_name` = 'FN', `last_name` = 'LN', `phone` = 'phone', `email` = 'email@reference.com', `access_key` = '1860e8bc6a9064eb039d2ba14dbdae3c' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Update (1.3ms) UPDATE `fe_applications` SET `locale` = NULL WHERE `fe_applications`.`id` = 1  (1.4ms) COMMIT  (1.2ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (4.0ms) Completed 200 OK in 116ms (Views: 12.8ms | ActiveRecord: 32.8ms) Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.7ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.8ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (61.9ms) TRUNCATE TABLE `fe_elements`  (24.3ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 89', '2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:22.417844' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 258) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 258', 258, '2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.2ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 120', TRUE, '2024-06-18 02:16:22', '2024-06-18 02:16:22') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:22', '2024-06-18 02:16:22') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:22' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.7ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 90', '2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:22.520087' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 259) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 259, '2024-06-18 02:16:22', '2024-06-18 02:16:22')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 121', TRUE, '2024-06-18 02:16:22', '2024-06-18 02:16:22') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 02:16:22', '2024-06-18 02:16:22') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:22' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:16:22', '2024-06-18 02:16:22', 2) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (7.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 02:16:22' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.4ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_3', 'fn_3', 'ln_3', 'phone_3', 'initial@ref.com', 'created', '2024-06-18 02:16:22', '2024-06-18 02:16:22', 2) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.9ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:16:22' WHERE `fe_references`.`id` = 1  (2.1ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"ref answer here"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.4ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'ref answer here', '2024-06-18 02:16:22', '2024-06-18 02:16:22') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: cb64cbcd-d536-4bbb-9a74-d51ca195ba77) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.6ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.3ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.3ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.5ms) Completed 200 OK in 171ms (Views: 2.9ms | ActiveRecord: 22.2ms) Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1  (1.5ms) SELECT `fe_question_sheets`.`id` FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (29.1ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.3ms) TRUNCATE TABLE `fe_answers`  (22.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (25.5ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_references`  (23.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.7ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 91', '2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:23.342304' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 260) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 259', 260, '2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 122', TRUE, '2024-06-18 02:16:23', '2024-06-18 02:16:23') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:23', '2024-06-18 02:16:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:23' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 92', '2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:23.444290' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 261) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Ref Page', 261, '2024-06-18 02:16:23', '2024-06-18 02:16:23')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `object_name`, `attribute_name`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 123', TRUE, 'answer_sheet', 'email', '2024-06-18 02:16:23', '2024-06-18 02:16:23') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 2, 1, '2024-06-18 02:16:23', '2024-06-18 02:16:23') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:23' WHERE `fe_pages`.`id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:16:23', '2024-06-18 02:16:23', 2) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 2, `fe_references`.`updated_at` = '2024-06-18 02:16:23' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (3, 1, 'relationship_4', 'fn_4', 'ln_4', 'phone_4', 'initial@ref.com', 'created', '2024-06-18 02:16:23', '2024-06-18 02:16:23', 2) Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 3 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.5ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:16:23' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '437f5ff0efe7b30acaa1154fe74313cc' LIMIT 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `access_key` = '437f5ff0efe7b30acaa1154fe74313cc', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerPagesController#update as JS Parameters: {"a"=>"437f5ff0efe7b30acaa1154fe74313cc", "answer_sheet_type"=>"Fe::ReferenceSheet", "answers"=>{"2"=>"other@email.com"}, "id"=>"2", "answer_sheet_id"=>"1"} Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 2 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 ORDER BY number Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 2 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 2 LIMIT 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 ORDER BY id=2 DESC  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'other@email.com' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.6ms) COMMIT [ActiveJob] Enqueued Fe::UpdateReferenceSheetVisibilityJob (Job ID: 1181d109-48db-4f33-95d3-6464d512eaa8) to Test(default) with arguments: #>, [2]  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `locale` = NULL WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 2  (1.1ms) SELECT MAX(`fe_answers`.`updated_at`) FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 2 Rendering /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/update.js.erb (1.4ms) Completed 200 OK in 62ms (Views: 2.8ms | ActiveRecord: 20.4ms) Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 93', '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:24.089966' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 262) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 260', 262, '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::AnswerSheetQuestionSheet Create (6.3ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.5ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.2ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.1ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (4.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (1.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (14.3ms) Completed 200 OK in 57ms (Views: 16.1ms | ActiveRecord: 20.6ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (33.9ms) TRUNCATE TABLE `fe_conditions`  (33.6ms) TRUNCATE TABLE `fe_elements`  (30.4ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.4ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.5ms) TRUNCATE TABLE `phone_numbers`  (22.8ms) TRUNCATE TABLE `users`  (50.7ms) TRUNCATE TABLE `versions`  (0.8ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 94', '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.9ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:24.667661' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 263) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 261', 263, '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 124', TRUE, TRUE, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (4.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:24' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 125', TRUE, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:24' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 126', TRUE, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:24', '2024-06-18 02:16:24') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:24' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:24', '2024-06-18 02:16:24')  (1.4ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.7ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (9.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (35.3ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (73.9ms) Completed 200 OK in 106ms (Views: 50.2ms | ActiveRecord: 34.2ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (22.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.1ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (37.8ms) TRUNCATE TABLE `fe_conditions`  (37.8ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 95', '2024-06-18 02:16:25', '2024-06-18 02:16:25')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:25.444815' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 264) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 262', 264, '2024-06-18 02:16:25', '2024-06-18 02:16:25')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 127', TRUE, TRUE, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:25' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 128', TRUE, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:25' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 129', TRUE, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:25', '2024-06-18 02:16:25') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:25' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:25', '2024-06-18 02:16:25')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.4ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:25', '2024-06-18 02:16:25')  (1.2ms) COMMIT Processing by Fe::AnswerPagesController#edit as HTML Parameters: {"id"=>"1", "answer_sheet_id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.3ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) ORDER BY id=1 DESC, id=2 DESC, id=3 DESC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (8.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (27.2ms) Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_element.html.erb (5.0ms)  (1.3ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (69.3ms) Completed 200 OK in 102ms (Views: 43.9ms | ActiveRecord: 36.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.8ms) TRUNCATE TABLE `fe_addresses`  (22.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (25.2ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.0ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (20.6ms) TRUNCATE TABLE `fe_email_templates`  (26.8ms) TRUNCATE TABLE `fe_page_elements`  (23.6ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (30.1ms) TRUNCATE TABLE `users`  (29.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (26.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.9ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (23.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.6ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.9ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.8ms) TRUNCATE TABLE `fe_applications`  (38.5ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (23.0ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (102.7ms) TRUNCATE TABLE `fe_elements`  (22.7ms) TRUNCATE TABLE `fe_email_templates`  (27.6ms) TRUNCATE TABLE `fe_page_elements`  (24.5ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (27.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 96', '2024-06-18 02:16:27', '2024-06-18 02:16:27')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.6ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:27.944129' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 265) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 263', 265, '2024-06-18 02:16:27', '2024-06-18 02:16:27')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:27.970495' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 266) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 264', 266, '2024-06-18 02:16:27', '2024-06-18 02:16:27')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:27.994027' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 267) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 265', 267, '2024-06-18 02:16:27', '2024-06-18 02:16:27')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:28.017939' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 268) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 266', 268, '2024-06-18 02:16:28', '2024-06-18 02:16:28')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:28.043349' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 269) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 267', 269, '2024-06-18 02:16:28', '2024-06-18 02:16:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'This is a test for a yes/no question that will show the next element if the answer is yes', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:28', '2024-06-18 02:16:28', 'Fe::Element', 'yes') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (10.9ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:16:28', '2024-06-18 02:16:28') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:28' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'This is a test of a short answer that is made visible by the previous element', TRUE, '2024-06-18 02:16:28', '2024-06-18 02:16:28') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:16:28', '2024-06-18 02:16:28') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.5ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:28' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:28', '2024-06-18 02:16:28')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:28', '2024-06-18 02:16:28')  (1.2ms) COMMIT Fe::AnswerSheetQuestionSheet Load (1.1ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 LIMIT 1 Fe::AnswerSheetQuestionSheet Load (1.3ms) SELECT `fe_answer_sheet_question_sheets`.* FROM `fe_answer_sheet_question_sheets` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_answer_sheet_question_sheets`.`id` ASC LIMIT 1  (0.5ms) BEGIN  (0.5ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 02:16:28', '2024-06-18 02:16:28')  (1.6ms) COMMIT Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'yes' WHERE `fe_answers`.`id` = 1  (1.3ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.4ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (22.3ms) TRUNCATE TABLE `fe_applications`  (36.3ms) TRUNCATE TABLE `fe_conditions`  (33.5ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.1ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (25.4ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.1ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (25.6ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (25.9ms) TRUNCATE TABLE `fe_question_sheets`  (32.8ms) TRUNCATE TABLE `fe_references`  (24.6ms) TRUNCATE TABLE `fe_users`  (23.9ms) TRUNCATE TABLE `phone_numbers`  (22.2ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (45.9ms) TRUNCATE TABLE `fe_pages`  (39.6ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (38.0ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 97', '2024-06-18 02:16:30', '2024-06-18 02:16:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:30.112762' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 270) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 268', 270, '2024-06-18 02:16:30', '2024-06-18 02:16:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 130', TRUE, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:30' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 131', TRUE, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.2ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (30.6ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (26.3ms) TRUNCATE TABLE `fe_email_templates`  (23.1ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (26.0ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 98', '2024-06-18 02:16:30', '2024-06-18 02:16:30')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:30.671316' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 271) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 269', 271, '2024-06-18 02:16:30', '2024-06-18 02:16:30')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 132', TRUE, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:30' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 133', TRUE, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 134', TRUE, '2024-06-18 02:16:30', '2024-06-18 02:16:30') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.4ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (34.5ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (33.0ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (23.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 99', '2024-06-18 02:16:31', '2024-06-18 02:16:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:31.266902' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 272) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 270', 272, '2024-06-18 02:16:31', '2024-06-18 02:16:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (9.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 135', TRUE, '2024-06-18 02:16:31', '2024-06-18 02:16:31') Fe::Page Load (5.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:31', '2024-06-18 02:16:31') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:31' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (29.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (19.9ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (32.3ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 100', '2024-06-18 02:16:31', '2024-06-18 02:16:31')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:31.793470' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 273) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 271', 273, '2024-06-18 02:16:31', '2024-06-18 02:16:31')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Section Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::Section', 'section', 'Label Element 136', TRUE, '2024-06-18 02:16:31', '2024-06-18 02:16:31') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:31', '2024-06-18 02:16:31') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:31' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.4ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (35.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (22.7ms) TRUNCATE TABLE `fe_pages`  (23.5ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 101', '2024-06-18 02:16:32', '2024-06-18 02:16:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:32.316023' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 274) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 272', 274, TRUE, '2024-06-18 02:16:32', '2024-06-18 02:16:32')  (1.7ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.9ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 102', '2024-06-18 02:16:32', '2024-06-18 02:16:32')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:32.759359' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 275) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 273', 275, '2024-06-18 02:16:32', '2024-06-18 02:16:32')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (9.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 137', TRUE, '2024-06-18 02:16:32', '2024-06-18 02:16:32') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::TextField', 'short', 'Label Element 138', TRUE, '2024-06-18 02:16:32', '2024-06-18 02:16:32', 1, 'Fe::Element', 'asdf') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:16:32', '2024-06-18 02:16:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:32' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 02:16:32', '2024-06-18 02:16:32') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::TextField Update (1.6ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:32' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.7ms) BEGIN Fe::QuestionGridWithTotal Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::QuestionGridWithTotal', 'grid', 'Label Element 139', TRUE, '2024-06-18 02:16:33', '2024-06-18 02:16:33') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'short', 'Label Element 140', TRUE, '2024-06-18 02:16:33', '2024-06-18 02:16:33') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:33', '2024-06-18 02:16:33')  (2.0ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.4ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'asdf', '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 4 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'something else' WHERE `fe_answers`.`id` = 1  (3.8ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3, 4) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC, id=4 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (22.7ms) TRUNCATE TABLE `fe_people`  (19.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 103', '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 104', '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:33.910858' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 276) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 274', 276, '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:33.935861' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 276) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 274', 276, '2024-06-18 02:16:33', '2024-06-18 02:16:33')  (1.4ms) COMMIT Fe::Element Load (11.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 2  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (33.1ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (22.2ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (48.1ms) TRUNCATE TABLE `fe_question_sheets`  (33.3ms) TRUNCATE TABLE `fe_references`  (30.6ms) TRUNCATE TABLE `fe_users`  (25.0ms) TRUNCATE TABLE `phone_numbers`  (22.9ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 105', '2024-06-18 02:16:34', '2024-06-18 02:16:34')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:34.462784' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 277) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 275', 277, '2024-06-18 02:16:34', '2024-06-18 02:16:34')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 141', TRUE, '2024-06-18 02:16:34', '2024-06-18 02:16:34') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:34', '2024-06-18 02:16:34') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:34' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:16:34.563233' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:34' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.7ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (30.7ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (18.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.6ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 106', '2024-06-18 02:16:34', '2024-06-18 02:16:34')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:35.016810' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 278) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 276', 278, '2024-06-18 02:16:35', '2024-06-18 02:16:35')  (1.7ms) COMMIT Fe::Element Load (11.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.3ms) TRUNCATE TABLE `fe_answers`  (24.9ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (26.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 107', '2024-06-18 02:16:35', '2024-06-18 02:16:35')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:35.485647' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 279) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 277', 279, '2024-06-18 02:16:35', '2024-06-18 02:16:35')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 142', TRUE, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:35' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 143', TRUE, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 144', TRUE, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:35' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Section Create (1.3ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 145', TRUE, '2024-06-18 02:16:35', '2024-06-18 02:16:35') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.7ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (26.1ms) TRUNCATE TABLE `fe_people`  (18.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_references`  (28.2ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (18.9ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 108', '2024-06-18 02:16:36', '2024-06-18 02:16:36')  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:36.143341' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 280) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 278', 280, '2024-06-18 02:16:36', '2024-06-18 02:16:36')  (1.5ms) COMMIT Fe::Element Load (12.0ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.4ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (25.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.1ms) TRUNCATE TABLE `fe_answers`  (31.1ms) TRUNCATE TABLE `fe_applications`  (34.7ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (24.0ms) TRUNCATE TABLE `fe_email_templates`  (64.2ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.1ms) TRUNCATE TABLE `fe_references`  (21.8ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 109', '2024-06-18 02:16:36', '2024-06-18 02:16:36')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:36.671820' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 281) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`, `all_element_ids`) VALUES (1, 'Label Page 279', 281, '2024-06-18 02:16:36', '2024-06-18 02:16:36', '2,1')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 146', TRUE, '2024-06-18 02:16:36', '2024-06-18 02:16:36') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 147', TRUE, '2024-06-18 02:16:36', '2024-06-18 02:16:36') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1) ORDER BY id=2 DESC, id=1 DESC  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.7ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (21.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.9ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.4ms) TRUNCATE TABLE `phone_numbers`  (21.9ms) TRUNCATE TABLE `users`  (26.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 110', '2024-06-18 02:16:37', '2024-06-18 02:16:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:37.181882' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 282) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 280', 282, '2024-06-18 02:16:37', '2024-06-18 02:16:37')  (1.5ms) COMMIT Fe::Element Load (11.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (2.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Element Load (0.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE 1=0  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.3ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (33.4ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (31.8ms) TRUNCATE TABLE `fe_people`  (19.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (21.2ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 111', '2024-06-18 02:16:37', '2024-06-18 02:16:37')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:37.652737' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 283) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 281', 283, '2024-06-18 02:16:37', '2024-06-18 02:16:37')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGridWithTotal Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGridWithTotal', 'grid', 'Label Element 148', TRUE, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 02:16:37.707775' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 1) Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:37' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 149', TRUE, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::QuestionGridWithTotal Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 150', TRUE, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update All (1.0ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` + 1), `updated_at` = '2024-06-18 02:16:37.837468' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` >= 2) Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:37' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 151', TRUE, '2024-06-18 02:16:37', '2024-06-18 02:16:37') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.5ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 4, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) ORDER BY id=1 DESC, id=2 DESC, id=4 DESC, id=3 DESC  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (25.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (26.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 112', '2024-06-18 02:16:38', '2024-06-18 02:16:38')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:38.378521' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 284) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 282', 284, '2024-06-18 02:16:38', '2024-06-18 02:16:38')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'grid', 'Label Element 152', TRUE, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:38' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::TextField', 'short', 'Label Element 153', TRUE, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 154', TRUE, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 2, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:38' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Section Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (1, 'Fe::Section', 'section', 'Label Element 155', TRUE, '2024-06-18 02:16:38', '2024-06-18 02:16:38') Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (1.6ms) COMMIT Fe::Page Update (2.2ms) UPDATE `fe_pages` SET `all_element_ids` = NULL WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 1 ORDER BY position asc, id asc Fe::Page Update (2.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,4,3' WHERE `fe_pages`.`id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.9ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (35.8ms) TRUNCATE TABLE `fe_elements`  (27.4ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (23.7ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (31.4ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (21.5ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (303.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.6ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (32.7ms) TRUNCATE TABLE `fe_conditions`  (71.8ms) TRUNCATE TABLE `fe_elements`  (25.8ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (23.2ms) TRUNCATE TABLE `fe_people`  (22.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.6ms) TRUNCATE TABLE `fe_addresses`  (24.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (29.6ms) TRUNCATE TABLE `fe_conditions`  (37.5ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (27.1ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (23.6ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (31.7ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (22.4ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (25.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (22.2ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.0ms) TRUNCATE TABLE `fe_addresses`  (24.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_answers`  (24.3ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (37.1ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (35.1ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (25.0ms) TRUNCATE TABLE `fe_page_elements`  (27.3ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (23.4ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 113', '2024-06-18 02:16:41', '2024-06-18 02:16:41')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:41.849409' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 285) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 283', 285, '2024-06-18 02:16:41', '2024-06-18 02:16:41')  (1.6ms) COMMIT Processing by Fe::Admin::QuestionPagesController#show as JS Parameters: {"question_sheet_id"=>"1", "id"=>"1"} Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`id` = 1 ORDER BY number LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb Fe::Element Load (12.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (18.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_nav_controls.html.erb (3.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/show.js.erb (29.1ms) Completed 200 OK in 59ms (Views: 36.4ms | ActiveRecord: 14.5ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.4ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_answers`  (23.9ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (32.7ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (24.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (20.7ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 114', '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:42.392487' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 286) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 284', 286, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:42.417647' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 287) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `hidden`, `created_at`, `updated_at`) VALUES (1, 'Label Page 285', 287, TRUE, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.4ms) COMMIT Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (36.0ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.8ms) TRUNCATE TABLE `fe_references`  (20.5ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (24.4ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 115', '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:42.898456' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 288) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 286', 288, '2024-06-18 02:16:42', '2024-06-18 02:16:42')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 156', TRUE, '2024-06-18 02:16:42', '2024-06-18 02:16:42') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:42' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:42', '2024-06-18 02:16:42') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:42' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:42' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_5', 'fn_5', 'ln_5', 'phone_5', 'email_2@email.com', 'created', '2024-06-18 02:16:42', '2024-06-18 02:16:42') Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:16:43' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Invite', '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.4ms) COMMIT  (0.8ms) BEGIN Fe::EmailTemplate Create (0.9ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Reference Notification to Applicant', '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#send_reference_invite as JS Parameters: {"reference"=>{"1"=>{"email"=>"email@email.com", "first_name"=>"first_name", "last_name"=>"last_name", "phone"=>"phone", "relationship"=>"rel", "title"=>"title"}}, "reference_id"=>"1", "id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Load (1.1ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`applicant_answer_sheet_id` = 1 AND `fe_references`.`id` = 1 LIMIT 1  (0.6ms) BEGIN Fe::Answer Load (0.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND (false) Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '3bd11e5faa31babde9e11cb6c9e1d58b' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `relationship` = 'rel', `title` = 'title', `first_name` = 'first_name', `last_name` = 'last_name', `phone` = 'phone', `email` = 'email@email.com', `access_key` = '3bd11e5faa31babde9e11cb6c9e1d58b' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Person Load (0.9ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1 Fe::EmailTemplate Load (1.0ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Invite' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 6.3ms Sent mail to email@email.com (94.2ms) Date: Mon, 17 Jun 2024 22:16:43 -0400 From: info@example.com To: email@email.com Message-ID: <6670ee0b1e0d7_24882da0182f6@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Fe::EmailTemplate Load (1.3ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` WHERE `fe_email_templates`.`name` = 'Reference Notification to Applicant' LIMIT 1 Rendering text template Rendered text template (0.1ms) Fe::Notifier#notification: processed outbound mail in 7.0ms Sent mail to email@email.com (18.0ms) Date: Mon, 17 Jun 2024 22:16:43 -0400 From: info@example.com To: email@email.com Message-ID: <6670ee0b336cb_24882da01838d@andrews-macbook-pro.local.ccci.org.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit  (0.8ms) BEGIN Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `email_sent_at` = '2024-06-18 02:16:43' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/send_reference_invite.js.erb (4.3ms) Completed 200 OK in 210ms (Views: 28.8ms | ActiveRecord: 15.5ms) Fe::ReferenceSheet Load (1.2ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.9ms) TRUNCATE TABLE `fe_addresses`  (23.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.4ms) TRUNCATE TABLE `fe_answers`  (27.1ms) TRUNCATE TABLE `fe_applications`  (30.1ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (19.6ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.1ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.8ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (21.1ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 116', '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#create as HTML Parameters: {"question_sheet_id"=>"1"} Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::Application Create (0.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:43', '2024-06-18 02:16:43') Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (2, 1, '2024-06-18 02:16:43', '2024-06-18 02:16:43')  (1.5ms) COMMIT Redirected to http://test.host/fe/answer_sheets/2/edit Completed 302 Found in 25ms (ActiveRecord: 4.8ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.0ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (35.4ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (23.0ms) TRUNCATE TABLE `fe_pages`  (19.2ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.5ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 117', '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#index as HTML Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` ORDER BY created_at Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/index.html.erb within layouts/fe/application (10.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (1.5ms) Completed 200 OK in 43ms (Views: 35.2ms | ActiveRecord: 3.3ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.1ms) TRUNCATE TABLE `fe_addresses`  (24.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.7ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (24.2ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (19.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (22.7ms) TRUNCATE TABLE `fe_users`  (22.3ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.1ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 118', '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 157', TRUE, '2024-06-18 02:16:44', '2024-06-18 02:16:44') Fe::Page Load (7.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:44.755922' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 289) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 287', 289, '2024-06-18 02:16:44', '2024-06-18 02:16:44')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:44', '2024-06-18 02:16:44') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:44' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.4ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.1ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (21.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (32.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (35.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 84ms (Views: 41.3ms | ActiveRecord: 16.3ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.3ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (46.9ms) TRUNCATE TABLE `fe_applications`  (46.0ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (28.8ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:45', '2024-06-18 02:16:45')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:45', '2024-06-18 02:16:45')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 119', '2024-06-18 02:16:45', '2024-06-18 02:16:45')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:45', '2024-06-18 02:16:45')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:45.406602' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 290) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 288', 290, '2024-06-18 02:16:45', '2024-06-18 02:16:45')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 158', TRUE, TRUE, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 159', TRUE, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 160', TRUE, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:45', '2024-06-18 02:16:45') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:45' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.7ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 3 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 3 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [2 times] (16.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (23.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (23.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 72ms (Views: 26.7ms | ActiveRecord: 20.4ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (31.4ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (22.6ms) TRUNCATE TABLE `fe_users`  (25.4ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 120', '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:46.147741' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 291) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 289', 291, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `is_confidential`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 161', TRUE, TRUE, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:46' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 162', TRUE, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:46' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 163', TRUE, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:46' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.8ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 1 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3) AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (4.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (17.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 62ms (Views: 23.2ms | ActiveRecord: 16.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (33.3ms) TRUNCATE TABLE `fe_conditions`  (35.6ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.2ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (26.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 121', '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.9ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 122', '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:46.905717' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 292) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 290', 292, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 164', TRUE, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:46.957300' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 293) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 291', 293, '2024-06-18 02:16:46', '2024-06-18 02:16:46')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:16:46', '2024-06-18 02:16:46') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:46' WHERE `fe_pages`.`id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:47', '2024-06-18 02:16:47') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:47' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#show as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.5ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number SQL (3.6ms) SELECT `fe_elements`.`id` AS t0_r0, `fe_elements`.`question_grid_id` AS t0_r1, `fe_elements`.`kind` AS t0_r2, `fe_elements`.`style` AS t0_r3, `fe_elements`.`label` AS t0_r4, `fe_elements`.`content` AS t0_r5, `fe_elements`.`required` AS t0_r6, `fe_elements`.`slug` AS t0_r7, `fe_elements`.`position` AS t0_r8, `fe_elements`.`object_name` AS t0_r9, `fe_elements`.`attribute_name` AS t0_r10, `fe_elements`.`source` AS t0_r11, `fe_elements`.`value_xpath` AS t0_r12, `fe_elements`.`text_xpath` AS t0_r13, `fe_elements`.`cols` AS t0_r14, `fe_elements`.`is_confidential` AS t0_r15, `fe_elements`.`total_cols` AS t0_r16, `fe_elements`.`css_id` AS t0_r17, `fe_elements`.`css_class` AS t0_r18, `fe_elements`.`created_at` AS t0_r19, `fe_elements`.`updated_at` AS t0_r20, `fe_elements`.`related_question_sheet_id` AS t0_r21, `fe_elements`.`conditional_id` AS t0_r22, `fe_elements`.`tooltip` AS t0_r23, `fe_elements`.`hide_label` AS t0_r24, `fe_elements`.`hide_option_labels` AS t0_r25, `fe_elements`.`max_length` AS t0_r26, `fe_elements`.`conditional_type` AS t0_r27, `fe_elements`.`conditional_answer` AS t0_r28, `fe_elements`.`choice_field_id` AS t0_r29, `fe_elements`.`share` AS t0_r30, `fe_elements`.`label_translations` AS t0_r31, `fe_elements`.`tip_translations` AS t0_r32, `fe_elements`.`content_translations` AS t0_r33, `fe_pages`.`id` AS t1_r0, `fe_pages`.`question_sheet_id` AS t1_r1, `fe_pages`.`label` AS t1_r2, `fe_pages`.`number` AS t1_r3, `fe_pages`.`no_cache` AS t1_r4, `fe_pages`.`hidden` AS t1_r5, `fe_pages`.`created_at` AS t1_r6, `fe_pages`.`updated_at` AS t1_r7, `fe_pages`.`all_element_ids` AS t1_r8, `fe_pages`.`label_translations` AS t1_r9 FROM `fe_elements` LEFT OUTER JOIN `fe_page_elements` `page_elements_fe_elements_join` ON `page_elements_fe_elements_join`.`element_id` = `fe_elements`.`id` LEFT OUTER JOIN `fe_pages` ON `fe_pages`.`id` = `page_elements_fe_elements_join`.`page_id` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC, fe_pages.number,fe_page_elements.position Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_pages`.`id` = 2 LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application Fe::QuestionSheet Load (1.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 ORDER BY `fe_question_sheets`.`id` ASC LIMIT 1 Fe::Element Exists (1.2ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND (kind NOT IN('Fe::Paragraph', 'Fe::Section', 'Fe::QuestionGrid', 'Fe::QuestionGridWithTotal')) LIMIT 1 Fe::Answer Load (5.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_element.html.erb [1 times] (10.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_answer_sheet.html.erb (18.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/show.html.erb within layouts/fe/application (19.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 61ms (Views: 24.4ms | ActiveRecord: 17.5ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.3ms) TRUNCATE TABLE `fe_addresses`  (23.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (22.9ms) TRUNCATE TABLE `fe_email_templates`  (21.8ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 123', '2024-06-18 02:16:47', '2024-06-18 02:16:47')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:47', '2024-06-18 02:16:47')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:47', '2024-06-18 02:16:47')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:47', '2024-06-18 02:16:47')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:47.573202' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 294) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 292', 294, '2024-06-18 02:16:47', '2024-06-18 02:16:47')  (1.7ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (8.2ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Element Load (4.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendering /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered collection of /Users/andrew/Development/fe/app/views/fe/answer_sheets/_page_link.html.erb [1 times] (7.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_pages_list.html.erb (13.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_title.html.erb (1.7ms)  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.8ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_page_name.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_pages/_answer_page.html.erb (5.8ms)  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (0.7ms) SELECT 1 AS one FROM `fe_elements` WHERE 1=0 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGridWithTotal') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/_submit_to.html.erb (1.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/answer_sheets/edit.html.erb within layouts/fe/application (52.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 109ms (Views: 58.2ms | ActiveRecord: 26.6ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (26.6ms) TRUNCATE TABLE `fe_addresses`  (22.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (31.2ms) TRUNCATE TABLE `fe_conditions`  (32.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.4ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (56.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (22.4ms) TRUNCATE TABLE `fe_users`  (23.8ms) TRUNCATE TABLE `phone_numbers`  (25.8ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 124', '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Redirected to http://test.host/referrer Completed 302 Found in 17ms (ActiveRecord: 7.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (22.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.9ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (21.1ms) TRUNCATE TABLE `users`  (26.8ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 125', '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:48', '2024-06-18 02:16:48')  (1.4ms) COMMIT Processing by Fe::AnswerSheetsController#edit as HTML Parameters: {"id"=>"1"} Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.3ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 Fe::Page Load (4.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 AND `fe_pages`.`hidden` = FALSE ORDER BY number Rendering html template within layouts/fe/application Rendered html template within layouts/fe/application (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/applications/_logout.html.erb (0.4ms) Completed 200 OK in 30ms (Views: 14.1ms | ActiveRecord: 7.8ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (32.2ms) TRUNCATE TABLE `fe_conditions`  (40.4ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (19.9ms) TRUNCATE TABLE `fe_people`  (19.5ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (22.7ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::EmailTemplate Create (4.4ms) INSERT INTO `fe_email_templates` (`name`, `created_at`, `updated_at`) VALUES ('Template', '2024-06-18 02:16:49', '2024-06-18 02:16:49')  (1.5ms) COMMIT Processing by Fe::Admin::EmailTemplatesController#index as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin Fe::EmailTemplate Load (1.2ms) SELECT `fe_email_templates`.* FROM `fe_email_templates` ORDER BY name Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/index.html.erb within layouts/fe/fe.admin (5.9ms) Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 1.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (24.5ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (36.8ms) TRUNCATE TABLE `fe_elements`  (20.2ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (27.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1 Processing by Fe::Admin::EmailTemplatesController#new as HTML Rendering /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin Rendered /Users/andrew/Development/fe/app/views/layouts/fe/_error_messages_for.html.erb (1.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/_form.html.erb (20.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/email_templates/new.html.erb within layouts/fe/fe.admin (31.5ms) Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.0ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (25.8ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.5ms) TRUNCATE TABLE `fe_answers`  (24.0ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (22.3ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (21.7ms) TRUNCATE TABLE `phone_numbers`  (19.8ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (4.4ms) SELECT COUNT(*) FROM `fe_email_templates` Processing by Fe::Admin::EmailTemplatesController#create as HTML Parameters: {"email_template"=>{"content"=>"Content", "name"=>"Name", "subject"=>"Subject"}}  (0.5ms) BEGIN Fe::EmailTemplate Create (1.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `subject`, `created_at`, `updated_at`) VALUES ('Name', 'Content', 'Subject', '2024-06-18 02:16:50', '2024-06-18 02:16:50')  (1.4ms) COMMIT Redirected to http://test.host/fe/admin/email_templates Completed 302 Found in 9ms (ActiveRecord: 3.0ms)  (2.7ms) SELECT COUNT(*) FROM `fe_email_templates`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (24.0ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (22.4ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.3ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (23.1ms) TRUNCATE TABLE `phone_numbers`  (23.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.4ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (30.5ms) TRUNCATE TABLE `fe_conditions`  (35.0ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (33.5ms) TRUNCATE TABLE `fe_references`  (20.0ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (25.3ms) TRUNCATE TABLE `fe_applications`  (32.4ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (25.4ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (20.9ms) TRUNCATE TABLE `fe_people`  (21.6ms) TRUNCATE TABLE `fe_question_sheets`  (34.3ms) TRUNCATE TABLE `fe_references`  (22.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (28.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (24.6ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (20.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (24.0ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.7ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (28.0ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (21.0ms) TRUNCATE TABLE `fe_people`  (21.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.6ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (19.4ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 126', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 165', TRUE, '2024-06-18 02:16:52', '2024-06-18 02:16:52', 'a;b') Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 127', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:52.155778' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 295) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 293', 295, '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 295) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:52.172906' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 295) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:52', '2024-06-18 02:16:52') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:52' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.5ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'b', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.4ms) COMMIT Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (31.0ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (31.9ms) TRUNCATE TABLE `fe_conditions`  (33.9ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (21.9ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.9ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.9ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (23.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 128', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `conditional_answer`) VALUES ('Fe::TextField', 'drop-down', 'Label Element 166', TRUE, '2024-06-18 02:16:52', '2024-06-18 02:16:52', 'a;b') Fe::Page Load (6.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 129', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:52.744492' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 296) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 294', 296, '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 296) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:52.760099' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 296) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:52', '2024-06-18 02:16:52') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:52' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (4.4ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'c', '2024-06-18 02:16:52', '2024-06-18 02:16:52')  (1.5ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.1ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.5ms) TRUNCATE TABLE `fe_answers`  (28.9ms) TRUNCATE TABLE `fe_applications`  (29.4ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (20.5ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.8ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (21.3ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.3ms) TRUNCATE TABLE `fe_page_elements`  (22.3ms) TRUNCATE TABLE `fe_pages`  (27.6ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (30.4ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.7ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.6ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (39.0ms) TRUNCATE TABLE `fe_elements`  (23.1ms) TRUNCATE TABLE `fe_email_templates`  (25.2ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (21.9ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (25.6ms) TRUNCATE TABLE `users`  (25.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:16:54', '2024-06-18 02:16:54', 1) Fe::Page Load (7.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:16:54' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:54', '2024-06-18 02:16:54')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (1, 1, 'relationship_6', 'fn_6', 'ln_6', 'phone_6', 'email_3@email.com', 'created', '2024-06-18 02:16:54', '2024-06-18 02:16:54', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:16:54' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.6ms) TRUNCATE TABLE `fe_addresses`  (23.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.1ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (35.5ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (23.6ms) TRUNCATE TABLE `fe_page_elements`  (21.1ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (27.7ms) TRUNCATE TABLE `fe_references`  (27.1ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (30.5ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (4.5ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:54', '2024-06-18 02:16:54')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:54', '2024-06-18 02:16:54')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (5.8ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_7', 'fn_7', 'ln_7', 'phone_7', 'email_4@email.com', 'created', '2024-06-18 02:16:54', '2024-06-18 02:16:54')  (1.5ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (22.5ms) TRUNCATE TABLE `fe_addresses`  (23.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (36.0ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.9ms) TRUNCATE TABLE `fe_page_elements`  (22.5ms) TRUNCATE TABLE `fe_pages`  (19.0ms) TRUNCATE TABLE `fe_people`  (21.8ms) TRUNCATE TABLE `fe_question_sheets`  (34.0ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (58.7ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceSheet Create (7.2ms) INSERT INTO `fe_references` (`relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES ('relationship_8', 'fn_8', 'ln_8', 'phone_8', 'email_5@email.com', 'created', '2024-06-18 02:16:55', '2024-06-18 02:16:55')  (1.6ms) COMMIT  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.9ms) TRUNCATE TABLE `fe_addresses`  (23.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (34.8ms) TRUNCATE TABLE `fe_elements`  (21.8ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (22.9ms) TRUNCATE TABLE `fe_pages`  (21.3ms) TRUNCATE TABLE `fe_people`  (20.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.9ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Person Create (3.7ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:16:55', '2024-06-18 02:16:55')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:16:55', '2024-06-18 02:16:55')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::ReferenceSheet Create (6.0ms) INSERT INTO `fe_references` (`applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 'relationship_9', 'fn_9', 'ln_9', 'phone_9', 'email_6@email.com', 'created', '2024-06-18 02:16:55', '2024-06-18 02:16:55')  (1.4ms) COMMIT Fe::Person Load (1.0ms) SELECT `fe_people`.* FROM `fe_people` WHERE `fe_people`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (25.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (39.2ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (21.2ms) TRUNCATE TABLE `fe_people`  (21.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (24.4ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (36.5ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (23.0ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (26.5ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (24.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (33.8ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (21.3ms) TRUNCATE TABLE `fe_email_templates`  (24.7ms) TRUNCATE TABLE `fe_page_elements`  (23.2ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (21.2ms) TRUNCATE TABLE `fe_question_sheets`  (29.8ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 130', '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:56.772567' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 297) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 295', 297, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:56.799486' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 298) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 296', 298, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:56.822340' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 299) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 297', 299, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:56.846845' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 300) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 298', 300, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:56.869991' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 301) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 299', 301, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:56', '2024-06-18 02:16:56')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', FALSE, '2024-06-18 02:16:56', '2024-06-18 02:16:56') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:56' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_10', 'fn_10', 'ln_10', 'phone_10', 'email_7@email.com', 'created', '2024-06-18 02:16:56', '2024-06-18 02:16:56') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:16:56' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.3ms) TRUNCATE TABLE `fe_answers`  (24.2ms) TRUNCATE TABLE `fe_applications`  (30.4ms) TRUNCATE TABLE `fe_conditions`  (34.7ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (21.9ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (23.3ms) TRUNCATE TABLE `fe_question_sheets`  (56.2ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (19.5ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 131', '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:57.446256' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 302) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 300', 302, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:57.471468' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 303) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 301', 303, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:57.494129' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 304) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 302', 304, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:57.516814' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 305) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 303', 305, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:57.539712' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 306) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 304', 306, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:57', '2024-06-18 02:16:57')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:16:57', '2024-06-18 02:16:57') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:57' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:57', '2024-06-18 02:16:57') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:57' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:57' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_11', 'fn_11', 'ln_11', 'phone_11', 'email_8@email.com', 'created', '2024-06-18 02:16:57', '2024-06-18 02:16:57') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:16:57' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (26.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (29.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (21.6ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (22.8ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (20.4ms) TRUNCATE TABLE `fe_question_sheets`  (27.6ms) TRUNCATE TABLE `fe_references`  (23.4ms) TRUNCATE TABLE `fe_users`  (25.5ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.0ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 132', '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.178764' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 307) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 305', 307, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.204344' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 308) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 306', 308, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.227194' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 309) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 307', 309, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.250540' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 310) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 308', 310, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.274057' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 311) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 309', 311, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:16:58', '2024-06-18 02:16:58') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:58' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:16:58', '2024-06-18 02:16:58') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:58' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:58' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_12', 'fn_12', 'ln_12', 'phone_12', 'email_9@email.com', 'created', '2024-06-18 02:16:58', '2024-06-18 02:16:58') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:16:58' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.0ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 ORDER BY id=1 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.9ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.8ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (33.8ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (23.8ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (21.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (20.9ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (24.5ms) TRUNCATE TABLE `versions`  (0.4ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 133', '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.918522' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 312) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 310', 312, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.944227' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 313) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 311', 313, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.966819' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 314) Fe::Page Create (0.8ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 312', 314, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.8ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:58.989172' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 315) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 313', 315, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.012289' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 316) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 314', 316, '2024-06-18 02:16:58', '2024-06-18 02:16:58')  (1.4ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 167', TRUE, '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (1.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:16:59', '2024-06-18 02:16:59', 1, 'Fe::Element', 'yes') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.8ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.6ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:59' WHERE `fe_pages`.`id` = 1  (25.1ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.8ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.9ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:59' WHERE `fe_pages`.`id` = 1  (57.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 168', TRUE, '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.8ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:16:59' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 134', '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.421907' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 317) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 315', 317, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.446181' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 318) Fe::Page Create (1.3ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 316', 318, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.471280' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 319) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 317', 319, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.496889' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 320) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 318', 320, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:16:59.520965' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 321) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 319', 321, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_13', 'fn_13', 'ln_13', 'phone_13', 'email_10@email.com', 'created', '2024-06-18 02:16:59', '2024-06-18 02:16:59') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (0.9ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (6.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`id` = 1  (3.4ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Update (1.1ms) UPDATE `fe_references` SET `visible` = FALSE WHERE `fe_references`.`id` = 1  (0.6ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 02:16:59', '2024-06-18 02:16:59')  (1.3ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618021659000000', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:16:59' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.7ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.9ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (32.9ms) TRUNCATE TABLE `fe_conditions`  (33.2ms) TRUNCATE TABLE `fe_elements`  (24.5ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.4ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (19.4ms) TRUNCATE TABLE `fe_question_sheets`  (28.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.0ms) TRUNCATE TABLE `phone_numbers`  (20.5ms) TRUNCATE TABLE `users`  (24.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 135', '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (2.1ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.127629' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 322) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 320', 322, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.153433' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 323) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 321', 323, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.176463' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 324) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 322', 324, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.199227' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 325) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 323', 325, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.222312' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 326) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 324', 326, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 169', TRUE, '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (7.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:00' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (2.0ms) COMMIT  (0.4ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:00', '2024-06-18 02:17:00', 1, 'Fe::Element', 'yes') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.4ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:00' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:00' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:00' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 170', TRUE, '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:00' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:00' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:00' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 136', '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.514210' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 327) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 325', 327, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.537556' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 328) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 326', 328, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.560279' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 329) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 327', 329, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.583874' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 330) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 328', 330, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:00.606327' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 331) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 329', 331, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (1.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.5ms) COMMIT Fe::Answer Load (4.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 02:17:00', '2024-06-18 02:17:00')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_14', 'fn_14', 'ln_14', 'phone_14', 'email_11@email.com', 'created', '2024-06-18 02:17:00', '2024-06-18 02:17:00') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.1ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618021700000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:00' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.4ms) SET FOREIGN_KEY_CHECKS = 0  (28.6ms) TRUNCATE TABLE `fe_addresses`  (139.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.2ms) TRUNCATE TABLE `fe_answers`  (23.6ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (36.6ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (22.4ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (24.3ms) TRUNCATE TABLE `fe_people`  (53.6ms) TRUNCATE TABLE `fe_question_sheets`  (28.6ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (23.6ms) TRUNCATE TABLE `phone_numbers`  (21.5ms) TRUNCATE TABLE `users`  (24.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::QuestionSheet Create (4.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 137', '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.363283' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 332) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 330', 332, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.389386' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 333) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 331', 333, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.414094' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 334) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 332', 334, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.437057' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 335) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 333', 335, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.459974' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 336) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 334', 336, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 171', TRUE, '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Page Load (3.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:01', '2024-06-18 02:17:01', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.6ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:01' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Page Load (0.8ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:01' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:01' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 172', TRUE, '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:01' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:01' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:01' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 138', '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.742374' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 337) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 335', 337, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.765266' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 338) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 336', 338, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.791335' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 339) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 337', 339, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.815545' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 340) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 338', 340, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:01.838426' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 341) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 339', 341, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_15', 'fn_15', 'ln_15', 'phone_15', 'email_12@email.com', 'created', '2024-06-18 02:17:01', '2024-06-18 02:17:01') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:01' WHERE `fe_references`.`id` = 1  (3.8ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `visible` = FALSE, `visibility_cache_key` = 'something' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 02:17:01', '2024-06-18 02:17:01')  (1.5ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (2.4ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618021701000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:02' WHERE `fe_references`.`id` = 1 Fe::ReferenceSheet Load (1.0ms) SELECT `fe_references`.* FROM `fe_references` WHERE `fe_references`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (30.1ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.5ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.0ms) TRUNCATE TABLE `fe_conditions`  (34.3ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (22.2ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (24.7ms) TRUNCATE TABLE `fe_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (22.7ms) TRUNCATE TABLE `phone_numbers`  (19.3ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 139', '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.451611' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 342) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 340', 342, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.476740' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 343) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 341', 343, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.499669' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 344) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 342', 344, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.522379' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 345) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 343', 345, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.545321' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 346) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 344', 346, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.5ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 173', TRUE, '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_id`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:02', '2024-06-18 02:17:02', 1, 'Fe::Element', 'yes') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = NULL WHERE `fe_elements`.`id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:02' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 2, '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 1 WHERE `fe_elements`.`id` = 2 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:02' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:02' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 174', TRUE, '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:02' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 2 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:02' WHERE `fe_references`.`question_id` = 3 AND `fe_references`.`status` = 'created' Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:02' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.2ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (0.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 140', '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.835628' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 347) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 345', 347, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.859463' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 348) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 346', 348, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.882613' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 349) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 347', 349, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.918919' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 350) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 348', 350, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:02.942259' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 351) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 349', 351, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (0.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 2, '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.4ms) COMMIT Fe::Answer Load (4.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'no', '2024-06-18 02:17:02', '2024-06-18 02:17:02')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_16', 'fn_16', 'ln_16', 'phone_16', 'email_13@email.com', 'created', '2024-06-18 02:17:02', '2024-06-18 02:17:02') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Application Load (1.0ms) SELECT `fe_applications`.* FROM `fe_applications` WHERE `fe_applications`.`id` = 1 LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 1 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (2, 1, 3) ORDER BY id=2 DESC, id=1 DESC, id=3 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = 'fe/answers/1-20240618021702000000', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:03' WHERE `fe_references`.`id` = 1  (4.1ms) COMMIT Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Answer Load (1.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Update (1.2ms) UPDATE `fe_answers` SET `value` = 'yes', `updated_at` = '2024-06-18 02:17:04' WHERE `fe_answers`.`id` = 1  (3.2ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (25.0ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.1ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (32.6ms) TRUNCATE TABLE `fe_conditions`  (35.3ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (20.3ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (27.8ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (24.8ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (10.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 175', TRUE, '2024-06-18 02:17:04', '2024-06-18 02:17:04') Fe::Page Load (7.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (6.3ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:04' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:04', '2024-06-18 02:17:04')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.9ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:04', '2024-06-18 02:17:04')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_17', 'fn_17', 'ln_17', 'phone_17', 'email_14@email.com', 'created', '2024-06-18 02:17:04', '2024-06-18 02:17:04') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:04' WHERE `fe_references`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 176', TRUE, '2024-06-18 02:17:04', '2024-06-18 02:17:04') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 2, 'some text response', '2024-06-18 02:17:04', '2024-06-18 02:17:04')  (1.3ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.0ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.6ms) TRUNCATE TABLE `fe_answers`  (25.6ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.0ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.3ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_references`  (21.5ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (57.5ms) TRUNCATE TABLE `users`  (30.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::ReferenceQuestion Create (9.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Label Element 177', TRUE, '2024-06-18 02:17:05', '2024-06-18 02:17:05') Fe::Page Load (6.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::ReferenceSheet Update All (5.8ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:05' WHERE `fe_references`.`question_id` = 1 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.0ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ReferenceQuestion') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (1, 1, 'relationship_18', 'fn_18', 'ln_18', 'phone_18', 'email_15@email.com', 'created', '2024-06-18 02:17:05', '2024-06-18 02:17:05') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (4.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:05' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 178', TRUE, '2024-06-18 02:17:05', '2024-06-18 02:17:05') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 2 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (24.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (31.5ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (23.0ms) TRUNCATE TABLE `fe_page_elements`  (22.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.7ms) TRUNCATE TABLE `fe_users`  (21.6ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 141', '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:05.693358' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 352) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 350', 352, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:05.719094' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 353) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 351', 353, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:05.746527' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 354) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 352', 354, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (23.4ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:05.797002' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 355) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 353', 355, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:05.821782' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 356) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 354', 356, '2024-06-18 02:17:05', '2024-06-18 02:17:05')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (11.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:05', '2024-06-18 02:17:05') Fe::Page Load (4.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:17:05', '2024-06-18 02:17:05') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:05' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:17:05', '2024-06-18 02:17:05', 1) Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:06' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.1ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:17:06', '2024-06-18 02:17:06') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (1.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:06' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:06' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.0ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.5ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_19', 'fn_19', 'ln_19', 'phone_19', 'email_16@email.com', 'created', '2024-06-18 02:17:06', '2024-06-18 02:17:06') Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (6.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (6.5ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.6ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.6ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.8ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:17:06' WHERE `fe_references`.`id` = 1  (3.7ms) COMMIT Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.6ms) BEGIN Fe::Answer Create (1.3ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.8ms) COMMIT Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.2ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.5ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.5ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (3.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (45.9ms) TRUNCATE TABLE `fe_addresses`  (24.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.1ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (35.1ms) TRUNCATE TABLE `fe_conditions`  (35.9ms) TRUNCATE TABLE `fe_elements`  (23.3ms) TRUNCATE TABLE `fe_email_templates`  (24.6ms) TRUNCATE TABLE `fe_page_elements`  (23.4ms) TRUNCATE TABLE `fe_pages`  (21.7ms) TRUNCATE TABLE `fe_people`  (21.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.2ms) TRUNCATE TABLE `fe_references`  (20.6ms) TRUNCATE TABLE `fe_users`  (23.2ms) TRUNCATE TABLE `phone_numbers`  (19.7ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (3.3ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (7.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 142', '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:06.837664' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 357) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 355', 357, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:06.867824' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 358) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 356', 358, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:06.894386' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 359) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 357', 359, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:06.921949' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 360) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 358', 360, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:06.949387' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 361) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 359', 361, '2024-06-18 02:17:06', '2024-06-18 02:17:06')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:06', '2024-06-18 02:17:06', 'Fe::Element', 'yes') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:17:07', '2024-06-18 02:17:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:07' WHERE `fe_pages`.`id` = 4  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:17:07', '2024-06-18 02:17:07') Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:07' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:17:07', '2024-06-18 02:17:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.4ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:07' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:07' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_20', 'fn_20', 'ln_20', 'phone_20', 'email_17@email.com', 'created', '2024-06-18 02:17:07', '2024-06-18 02:17:07') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (6.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.4ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:07' WHERE `fe_references`.`id` = 1  (2.9ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (0.9ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.4ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.0ms) TRUNCATE TABLE `fe_addresses`  (42.8ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.1ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.6ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (20.4ms) TRUNCATE TABLE `fe_pages`  (20.7ms) TRUNCATE TABLE `fe_people`  (21.7ms) TRUNCATE TABLE `fe_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_references`  (20.8ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.3ms) TRUNCATE TABLE `users`  (28.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 143', '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:07.823152' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 362) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 360', 362, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:07.849336' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 363) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 361', 363, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.2ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (0.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:07.871328' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 364) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 362', 364, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:07.894826' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 365) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 363', 365, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:07.918731' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 366) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 364', 366, '2024-06-18 02:17:07', '2024-06-18 02:17:07')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ChoiceField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`, `conditional_type`, `conditional_answer`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:07', '2024-06-18 02:17:07', 'Fe::Element', 'yes') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:17:07', '2024-06-18 02:17:07') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:07' WHERE `fe_pages`.`id` = 4  (1.6ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.2ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:08' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ChoiceField Update (1.3ms) UPDATE `fe_elements` SET `conditional_id` = 2 WHERE `fe_elements`.`id` = 1 Fe::ReferenceSheet Update All (1.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:08' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:08' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_21', 'fn_21', 'ln_21', 'phone_21', 'email_18@email.com', 'created', '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 1 Fe::Answer Load (6.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:08' WHERE `fe_references`.`id` = 1  (2.0ms) COMMIT Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'no', '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.4ms) COMMIT Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::QuestionSheet Load (0.8ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2) ORDER BY id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '')  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (27.8ms) TRUNCATE TABLE `fe_addresses`  (24.6ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (22.7ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (36.1ms) TRUNCATE TABLE `fe_elements`  (25.7ms) TRUNCATE TABLE `fe_email_templates`  (28.1ms) TRUNCATE TABLE `fe_page_elements`  (22.1ms) TRUNCATE TABLE `fe_pages`  (24.7ms) TRUNCATE TABLE `fe_people`  (23.6ms) TRUNCATE TABLE `fe_question_sheets`  (31.0ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (27.8ms) TRUNCATE TABLE `phone_numbers`  (22.0ms) TRUNCATE TABLE `users`  (27.9ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (5.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 144', '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:08.733414' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 367) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 365', 367, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:08.762293' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 368) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 366', 368, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:08.791343' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 369) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 367', 369, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:08.819017' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 370) Fe::Page Create (1.2ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 368', 370, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (2.0ms) COMMIT  (0.6ms) BEGIN Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:08.847245' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 371) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 369', 371, '2024-06-18 02:17:08', '2024-06-18 02:17:08')  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::ChoiceField Create (10.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `content`, `required`, `created_at`, `updated_at`) VALUES ('Fe::ChoiceField', 'yes-no', 'Is the reference required?', 'Choice One\r\nChoice Two\r\nChoice Three', TRUE, '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Page Load (5.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.9ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 1, '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:08' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `choice_field_id`) VALUES ('Fe::ReferenceQuestion', 'staff', 'Reference question here', TRUE, '2024-06-18 02:17:08', '2024-06-18 02:17:08', 1) Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (6.6ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:08' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.5ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 2, 2, '2024-06-18 02:17:08', '2024-06-18 02:17:08') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::ReferenceSheet Update All (0.9ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = NULL, `fe_references`.`updated_at` = '2024-06-18 02:17:09' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created' Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:09' WHERE `fe_pages`.`id` = 4  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (2.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 4 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (4, 1, 3, '2024-06-18 02:17:09', '2024-06-18 02:17:09') Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 4 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Element Load (2.4ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 4 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`choice_field_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,2,1,2' WHERE `fe_pages`.`id` = 4 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:09' WHERE `fe_pages`.`id` = 4  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::AnswerSheetQuestionSheet Create (5.9ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceSheet Create (1.5ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`) VALUES (2, 1, 'relationship_22', 'fn_22', 'ln_22', 'phone_22', 'email_19@email.com', 'created', '2024-06-18 02:17:09', '2024-06-18 02:17:09') Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (6.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.7ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (2.3ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = TRUE, `fe_references`.`updated_at` = '2024-06-18 02:17:09' WHERE `fe_references`.`id` = 1  (2.0ms) COMMIT Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1  (0.5ms) BEGIN Fe::Answer Create (1.6ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'yes', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.6ms) COMMIT Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.4ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) AND `fe_elements`.`conditional_type` = 'Fe::Page' AND `fe_elements`.`conditional_id` = 4 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 2, 1, 2) ORDER BY id=1 DESC, id=2 DESC, id=2 DESC, id=1 DESC, id=2 DESC Fe::QuestionSheet Exists (1.3ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::ChoiceField Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::ChoiceField') AND `fe_elements`.`id` = 1 LIMIT 1 Fe::Answer Load (1.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1 AND `fe_answers`.`answer_sheet_id` = 1 AND (value IS NOT NULL AND value != '') Fe::QuestionSheet Exists (1.2ms) SELECT 1 AS one FROM `fe_question_sheets` INNER JOIN `fe_answer_sheet_question_sheets` ON `fe_question_sheets`.`id` = `fe_answer_sheet_question_sheets`.`question_sheet_id` WHERE `fe_answer_sheet_question_sheets`.`answer_sheet_id` = 1 AND `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (29.4ms) TRUNCATE TABLE `fe_addresses`  (25.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (29.4ms) TRUNCATE TABLE `fe_answers`  (23.7ms) TRUNCATE TABLE `fe_applications`  (32.5ms) TRUNCATE TABLE `fe_conditions`  (37.4ms) TRUNCATE TABLE `fe_elements`  (22.1ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (23.0ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (22.2ms) TRUNCATE TABLE `fe_users`  (22.2ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (24.6ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.3ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 145', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 146', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.5ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:09.768302' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 372) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 370', 372, '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.7ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 372) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:09.787827' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 372) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.6ms) BEGIN Fe::TextField Create (8.6ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 179', TRUE, '2024-06-18 02:17:09', '2024-06-18 02:17:09') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:09', '2024-06-18 02:17:09') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:09' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:17:09', '2024-06-18 02:17:09', 1) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.0ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:17:09' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.6ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.7ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 01:17:09', 'relationship_23', 'fn_23', 'ln_23', 'phone_23', 'email_20@email.com', 'started', '2024-06-18 02:17:09', '2024-06-18 02:17:09', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.4ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:09' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.0ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 02:17:09', '2024-06-18 02:17:09')  (1.6ms) COMMIT Fe::ReferenceSheet Update (1.0ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.2ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.2ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'c111a187a375f05554a5822a97697ac9' LIMIT 1 Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = 'c111a187a375f05554a5822a97697ac9', `updated_at` = '2024-06-18 02:17:10', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (2.2ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.2ms) TRUNCATE TABLE `fe_addresses`  (24.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.4ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (20.9ms) TRUNCATE TABLE `fe_email_templates`  (22.0ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (20.6ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (27.3ms) TRUNCATE TABLE `fe_references`  (21.9ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (21.8ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 147', '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.1ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 148', '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:10.456260' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 373) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 371', 373, '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 373) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:10.475409' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 373) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 180', TRUE, '2024-06-18 02:17:10', '2024-06-18 02:17:10') Fe::Page Load (5.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.4ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:10', '2024-06-18 02:17:10') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:10' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:17:10', '2024-06-18 02:17:10', 1) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.4ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:17:10' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (4.2ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 01:17:10', 'relationship_24', 'fn_24', 'ln_24', 'phone_24', 'email_21@email.com', 'started', '2024-06-18 02:17:10', '2024-06-18 02:17:10', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (2.9ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:10' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.1ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 02:17:10', '2024-06-18 02:17:10')  (1.7ms) COMMIT Fe::ReferenceSheet Update (2.2ms) UPDATE `fe_references` SET `status` = 'created' WHERE `fe_references`.`id` = 1  (0.4ms) BEGIN  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.0ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.1ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.0ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'ca3fb6dfa9a9fe84255656fe0adcbbdf' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `access_key` = 'ca3fb6dfa9a9fe84255656fe0adcbbdf', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.5ms) COMMIT  (3.9ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (46.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.8ms) TRUNCATE TABLE `fe_conditions`  (35.2ms) TRUNCATE TABLE `fe_elements`  (20.7ms) TRUNCATE TABLE `fe_email_templates`  (24.4ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (20.2ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.3ms) TRUNCATE TABLE `fe_references`  (23.0ms) TRUNCATE TABLE `fe_users`  (22.1ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (26.1ms) TRUNCATE TABLE `versions`  (0.7ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 149', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 150', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.4ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:11.183164' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 374) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 372', 374, '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 374) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.2ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:11.202520' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 374) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 181', TRUE, '2024-06-18 02:17:11', '2024-06-18 02:17:11') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:11', '2024-06-18 02:17:11') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:11' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:17:11', '2024-06-18 02:17:11', 1) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:17:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 01:17:11', 'relationship_25', 'fn_25', 'ln_25', 'phone_25', 'email_22@email.com', 'started', '2024-06-18 02:17:11', '2024-06-18 02:17:11', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.8ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:11' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.8ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.4ms) COMMIT Fe::ReferenceSheet Update (2.2ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.2ms) UPDATE `fe_references` SET `email` = 'a@b.com', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.4ms) COMMIT  (2.3ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (27.3ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (28.3ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (34.6ms) TRUNCATE TABLE `fe_elements`  (20.8ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (21.8ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (28.4ms) TRUNCATE TABLE `fe_references`  (21.1ms) TRUNCATE TABLE `fe_users`  (22.5ms) TRUNCATE TABLE `phone_numbers`  (21.2ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 151', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 152', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:11.852608' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 375) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 373', 375, '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 375) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:11.870679' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 375) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 182', TRUE, '2024-06-18 02:17:11', '2024-06-18 02:17:11') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:11', '2024-06-18 02:17:11') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:11' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.6ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:17:11', '2024-06-18 02:17:11', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.1ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:17:11' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::Person Create (3.8ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:11', '2024-06-18 02:17:11')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.1ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 01:17:11', 'relationship_26', 'fn_26', 'ln_26', 'phone_26', 'email_23@email.com', 'started', '2024-06-18 02:17:11', '2024-06-18 02:17:11', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.2ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:12' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.1ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (3.8ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.4ms) COMMIT Fe::ReferenceSheet Update (2.3ms) UPDATE `fe_references` SET `status` = 'completed' WHERE `fe_references`.`id` = 1  (0.5ms) BEGIN Fe::ReferenceSheet Update (1.4ms) UPDATE `fe_references` SET `email` = 'a@b.com', `updated_at` = '2024-06-18 02:17:12', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (1.2ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.7ms) COMMIT Fe::Answer Load (1.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`id` = 2 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.8ms) TRUNCATE TABLE `fe_addresses`  (24.0ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.9ms) TRUNCATE TABLE `fe_answers`  (24.1ms) TRUNCATE TABLE `fe_applications`  (31.8ms) TRUNCATE TABLE `fe_conditions`  (36.7ms) TRUNCATE TABLE `fe_elements`  (19.9ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.2ms) TRUNCATE TABLE `fe_pages`  (20.5ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (29.0ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (23.9ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 153', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 154', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:12.520119' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 376) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 374', 376, '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 376) AND (`fe_pages`.id != 1) ORDER BY `fe_pages`.`number` ASC LIMIT 1 Fe::Page Update All (1.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:12.538248' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.id != 1) AND (`fe_pages`.`number` >= 376) Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `question_sheet_id` = 1 WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (9.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 183', TRUE, '2024-06-18 02:17:12', '2024-06-18 02:17:12') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:12', '2024-06-18 02:17:12') Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:12' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceQuestion Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `created_at`, `updated_at`, `related_question_sheet_id`) VALUES ('Fe::ReferenceQuestion', 'peer', '2024-06-18 02:17:12', '2024-06-18 02:17:12', 1) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::ReferenceSheet Update All (6.5ms) UPDATE `fe_references` SET `fe_references`.`question_sheet_id` = 1, `fe_references`.`updated_at` = '2024-06-18 02:17:12' WHERE `fe_references`.`question_id` = 2 AND `fe_references`.`status` = 'created'  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Person Create (3.9ms) INSERT INTO `fe_people` (`first_name`, `last_name`, `created_at`, `updated_at`) VALUES ('MyString', 'MyString', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Application Create (3.8ms) INSERT INTO `fe_applications` (`applicant_id`, `created_at`, `updated_at`) VALUES (1, '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::ReferenceSheet Create (1.0ms) INSERT INTO `fe_references` (`question_id`, `applicant_answer_sheet_id`, `email_sent_at`, `relationship`, `first_name`, `last_name`, `phone`, `email`, `status`, `created_at`, `updated_at`, `question_sheet_id`) VALUES (2, 1, '2024-06-18 01:17:12', 'relationship_27', 'fn_27', 'ln_27', 'phone_27', 'email_24@email.com', 'started', '2024-06-18 02:17:12', '2024-06-18 02:17:12', 1) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`conditional_type` = 'Fe::Element' AND `fe_elements`.`conditional_id` = 2 Fe::Answer Load (4.3ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.8ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY updated_at desc, id desc LIMIT 1 Fe::Answer Load (0.7ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE 1=0 AND `fe_answers`.`answer_sheet_id` = 1 Fe::ReferenceSheet Update All (1.3ms) UPDATE `fe_references` SET `fe_references`.`visibility_cache_key` = '', `fe_references`.`visible` = FALSE, `fe_references`.`updated_at` = '2024-06-18 02:17:12' WHERE `fe_references`.`id` = 1  (1.8ms) COMMIT  (0.6ms) BEGIN Fe::Answer Create (1.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'test', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::EmailTemplate Create (4.2ms) INSERT INTO `fe_email_templates` (`name`, `content`, `enabled`, `subject`, `created_at`, `updated_at`) VALUES ('Reference Deleted', 'reference deleted', TRUE, 'Reference Deleted', '2024-06-18 02:17:12', '2024-06-18 02:17:12')  (1.5ms) COMMIT Fe::ReferenceSheet Update (1.0ms) UPDATE `fe_references` SET `status` = 'started' WHERE `fe_references`.`id` = 1  (0.4ms) BEGIN  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1  (1.1ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_pages`.`question_sheet_id` = 1 Fe::Answer Load (1.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`answer_sheet_id` = 1 AND `fe_answers`.`question_id` = 1 Fe::Answer Destroy (1.1ms) DELETE FROM `fe_answers` WHERE `fe_answers`.`id` = 1 Fe::ReferenceSheet Exists (1.0ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'c0c44a1f157e6c9b5fd8e4d5b08ecb94' LIMIT 1 Fe::ReferenceSheet Update (1.3ms) UPDATE `fe_references` SET `email_sent_at` = NULL, `email` = 'a@b.com', `status` = 'created', `access_key` = 'c0c44a1f157e6c9b5fd8e4d5b08ecb94', `visible` = FALSE, `visibility_cache_key` = '' WHERE `fe_references`.`id` = 1  (1.6ms) COMMIT  (2.8ms) SELECT COUNT(*) FROM `fe_answers`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (28.2ms) TRUNCATE TABLE `fe_addresses`  (26.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (23.7ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (19.9ms) TRUNCATE TABLE `fe_email_templates`  (23.3ms) TRUNCATE TABLE `fe_page_elements`  (19.7ms) TRUNCATE TABLE `fe_pages`  (19.7ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (31.2ms) TRUNCATE TABLE `fe_references`  (21.4ms) TRUNCATE TABLE `fe_users`  (29.3ms) TRUNCATE TABLE `phone_numbers`  (24.0ms) TRUNCATE TABLE `users`  (24.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1 Fe::ReferenceSheet Exists (6.3ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '7f4968551b60b388936ea9b58535e135' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '14e144931e78e591da3f61f298d70a0d' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '98fa25c07b5572efa5b618a58511716f' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '09c0491b6d8414cecfa705b3fccf0da5' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'd642b9c1781539721e4081c81313c080' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '7880db01ce61957b87de55919354d1df' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '9b5370306c4cf2af70f0c0d40679d919' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'f91cbc14aa523c152bd799d807dc3226' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = '0b99d8572e3023974a39c18b2bd18a75' LIMIT 1 Fe::ReferenceSheet Exists (0.9ms) SELECT 1 AS one FROM `fe_references` WHERE `fe_references`.`access_key` = 'cca39857d2a907e6cc516b4e3825cb2c' LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (24.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.7ms) TRUNCATE TABLE `fe_answers`  (25.2ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (36.9ms) TRUNCATE TABLE `fe_elements`  (21.7ms) TRUNCATE TABLE `fe_email_templates`  (23.2ms) TRUNCATE TABLE `fe_page_elements`  (21.6ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (20.6ms) TRUNCATE TABLE `fe_question_sheets`  (27.4ms) TRUNCATE TABLE `fe_references`  (20.3ms) TRUNCATE TABLE `fe_users`  (24.2ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (23.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.6ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:13', '2024-06-18 02:17:13')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 155', '2024-06-18 02:17:13', '2024-06-18 02:17:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:13.646272' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 377) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 375', 377, '2024-06-18 02:17:13', '2024-06-18 02:17:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:13', '2024-06-18 02:17:13')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 184', TRUE, '2024-06-18 02:17:13', '2024-06-18 02:17:13') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#use_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:13', '2024-06-18 02:17:13') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:13' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (2.1ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (22.5ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (46.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (75.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (8.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (29.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (52.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (76.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (337.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (474.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (591.8ms) Completed 200 OK in 662ms (Views: 609.6ms | ActiveRecord: 18.2ms)  (0.8ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.8ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (28.0ms) TRUNCATE TABLE `fe_answers`  (23.4ms) TRUNCATE TABLE `fe_applications`  (32.8ms) TRUNCATE TABLE `fe_conditions`  (36.2ms) TRUNCATE TABLE `fe_elements`  (29.4ms) TRUNCATE TABLE `fe_email_templates`  (24.5ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.9ms) TRUNCATE TABLE `fe_question_sheets`  (30.0ms) TRUNCATE TABLE `fe_references`  (21.3ms) TRUNCATE TABLE `fe_users`  (22.8ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (25.8ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:14', '2024-06-18 02:17:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.4ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 156', '2024-06-18 02:17:14', '2024-06-18 02:17:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:14.818760' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 378) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 376', 378, '2024-06-18 02:17:14', '2024-06-18 02:17:14')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:14', '2024-06-18 02:17:14')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 185', TRUE, '2024-06-18 02:17:14', '2024-06-18 02:17:14') Fe::Page Load (4.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:14', '2024-06-18 02:17:14') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (2.2ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:14' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"style"=>"style"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (2.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (7.5ms) Fe::Element Load (1.8ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 AND (kind = 'Fe::QuestionGrid') ORDER BY `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/update.js.erb (17.9ms) Completed 200 OK in 52ms (Views: 17.6ms | ActiveRecord: 10.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.1ms) TRUNCATE TABLE `fe_applications`  (36.9ms) TRUNCATE TABLE `fe_conditions`  (38.9ms) TRUNCATE TABLE `fe_elements`  (22.5ms) TRUNCATE TABLE `fe_email_templates`  (23.5ms) TRUNCATE TABLE `fe_page_elements`  (20.8ms) TRUNCATE TABLE `fe_pages`  (22.1ms) TRUNCATE TABLE `fe_people`  (20.1ms) TRUNCATE TABLE `fe_question_sheets`  (29.5ms) TRUNCATE TABLE `fe_references`  (24.3ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.8ms) TRUNCATE TABLE `users`  (24.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:15', '2024-06-18 02:17:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.2ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 157', '2024-06-18 02:17:15', '2024-06-18 02:17:15')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:15.410553' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 379) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 377', 379, '2024-06-18 02:17:15', '2024-06-18 02:17:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.2ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:15', '2024-06-18 02:17:15')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.3ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 186', TRUE, '2024-06-18 02:17:15', '2024-06-18 02:17:15') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:15', '2024-06-18 02:17:15') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.3ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:15' WHERE `fe_pages`.`id` = 1  (2.0ms) COMMIT Processing by Fe::Admin::ElementsController#update as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1  (0.5ms) BEGIN Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::QuestionSheet Load (0.9ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.9ms) SELECT `fe_pages`.`all_element_ids` FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Fe::Element Exists (1.2ms) SELECT 1 AS one FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`slug` = 'Illegal Chars: #@$!' AND (id != 1) LIMIT 1  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (2.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (6.9ms) Completed 200 OK in 64ms (Views: 12.0ms | ActiveRecord: 7.7ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.2ms) TRUNCATE TABLE `fe_addresses`  (22.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.4ms) TRUNCATE TABLE `fe_answers`  (22.9ms) TRUNCATE TABLE `fe_applications`  (30.3ms) TRUNCATE TABLE `fe_conditions`  (33.1ms) TRUNCATE TABLE `fe_elements`  (33.4ms) TRUNCATE TABLE `fe_email_templates`  (33.9ms) TRUNCATE TABLE `fe_page_elements`  (90.0ms) TRUNCATE TABLE `fe_pages`  (20.8ms) TRUNCATE TABLE `fe_people`  (19.7ms) TRUNCATE TABLE `fe_question_sheets`  (35.7ms) TRUNCATE TABLE `fe_references`  (22.1ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.3ms) TRUNCATE TABLE `users`  (25.7ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (5.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.3ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.7ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 158', '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:16.097117' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 380) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 378', 380, '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (2.2ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::TextField Create (8.5ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 187', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#copy_existing as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 187', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16', TRUE) Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.3ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 1, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:16' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Update (1.2ms) UPDATE `fe_elements` SET `share` = FALSE WHERE `fe_elements`.`id` = 2 Fe::Page Load (2.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 2 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (0.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (1.6ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (6.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (13.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (2.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (4.0ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (5.6ms) Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (17.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (35.0ms) Completed 200 OK in 120ms (Views: 32.7ms | ActiveRecord: 32.8ms) Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.0ms) TRUNCATE TABLE `fe_addresses`  (23.4ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.2ms) TRUNCATE TABLE `fe_answers`  (23.8ms) TRUNCATE TABLE `fe_applications`  (31.1ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (21.2ms) TRUNCATE TABLE `fe_email_templates`  (24.0ms) TRUNCATE TABLE `fe_page_elements`  (20.9ms) TRUNCATE TABLE `fe_pages`  (22.0ms) TRUNCATE TABLE `fe_people`  (20.8ms) TRUNCATE TABLE `fe_question_sheets`  (30.5ms) TRUNCATE TABLE `fe_references`  (20.2ms) TRUNCATE TABLE `fe_users`  (21.4ms) TRUNCATE TABLE `phone_numbers`  (20.0ms) TRUNCATE TABLE `users`  (25.2ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.1ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 159', '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:16.713722' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 381) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 379', 381, '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:16', '2024-06-18 02:17:16')  (1.9ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.7ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 188', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.4ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 189', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionGrid Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 190', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 191', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.0ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 192', TRUE, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:16' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.6ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:16' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:17:16', '2024-06-18 02:17:16') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:16' WHERE `fe_pages`.`id` = 1  (1.9ms) COMMIT  (0.7ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list_3"=>["5", "4"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` IN (1, 2, 3, 4, 5) AND `fe_elements`.`id` = 3 ORDER BY id=1 DESC, id=2 DESC, id=3 DESC, id=4 DESC, id=5 DESC LIMIT 1 Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc  (0.5ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 2 WHERE `fe_elements`.`id` = 4 Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1  (1.5ms) COMMIT  (0.6ms) BEGIN Fe::TextField Update (1.3ms) UPDATE `fe_elements` SET `position` = 1, `updated_at` = '2024-06-18 02:17:17' WHERE `fe_elements`.`id` = 5 Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,5,4' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1  (1.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (1.5ms) Completed 200 OK in 133ms (Views: 2.9ms | ActiveRecord: 34.6ms)  (0.8ms) SELECT `fe_page_elements`.`position` FROM `fe_page_elements` Fe::TextField Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 5 LIMIT 1 Fe::TextField Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_elements`.`id` = 4 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (24.5ms) TRUNCATE TABLE `fe_addresses`  (23.2ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (30.9ms) TRUNCATE TABLE `fe_conditions`  (34.1ms) TRUNCATE TABLE `fe_elements`  (22.0ms) TRUNCATE TABLE `fe_email_templates`  (24.8ms) TRUNCATE TABLE `fe_page_elements`  (20.0ms) TRUNCATE TABLE `fe_pages`  (20.0ms) TRUNCATE TABLE `fe_people`  (20.0ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (20.4ms) TRUNCATE TABLE `users`  (24.7ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:17', '2024-06-18 02:17:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.8ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 160', '2024-06-18 02:17:17', '2024-06-18 02:17:17')  (1.6ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:17.543918' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 382) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 380', 382, '2024-06-18 02:17:17', '2024-06-18 02:17:17')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:17', '2024-06-18 02:17:17')  (1.6ms) COMMIT  (0.7ms) BEGIN Fe::TextField Create (7.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 193', TRUE, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 194', TRUE, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::QuestionGrid Create (0.9ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::QuestionGrid', 'style', 'Label Element 195', TRUE, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.2ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 196', TRUE, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 4 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`question_grid_id`, `kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES (3, 'Fe::TextField', 'style', 'Label Element 197', TRUE, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::QuestionGrid Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::QuestionGridWithTotal Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 5 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.8ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 3, 3, '2024-06-18 02:17:17', '2024-06-18 02:17:17') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::QuestionGrid Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Processing by Fe::Admin::ElementsController#reorder as JS Parameters: {"questions_list"=>["3", "1", "2"], "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::PageElement Load (1.1ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`position` ASC  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 2 WHERE `fe_page_elements`.`id` = 1  (1.3ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 2) Fe::PageElement Update All (1.4ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:17:17.827898' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 1) AND (`fe_page_elements`.`position` > 1) AND (`fe_page_elements`.`position` <= 2) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '2,1,3,4,5' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 3 WHERE `fe_page_elements`.`id` = 2  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 3) Fe::PageElement Update All (1.6ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:17:17.896544' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.id != 2) AND (`fe_page_elements`.`position` > 2) AND (`fe_page_elements`.`position` <= 3) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 2 LIMIT 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,3,4,5,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 5 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Update (1.1ms) UPDATE `fe_page_elements` SET `position` = 1 WHERE `fe_page_elements`.`id` = 3  (1.2ms) SELECT COUNT(*) FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` = 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 3 LIMIT 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Element Load (1.4ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '3,4,5,1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 3 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:17' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/reorder.js.erb (0.2ms) Completed 200 OK in 225ms (Views: 3.5ms | ActiveRecord: 72.0ms) Fe::QuestionGrid Load (1.3ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`kind` IN ('Fe::QuestionGrid', 'Fe::QuestionGridWithTotal') AND `fe_elements`.`id` = 3 LIMIT 1  (1.1ms) SELECT `fe_elements`.`position` FROM `fe_elements` WHERE `fe_elements`.`question_grid_id` = 3 ORDER BY position asc, id asc Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 3 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 2 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.1ms) TRUNCATE TABLE `fe_addresses`  (23.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.5ms) TRUNCATE TABLE `fe_answers`  (22.6ms) TRUNCATE TABLE `fe_applications`  (31.3ms) TRUNCATE TABLE `fe_conditions`  (34.0ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (22.8ms) TRUNCATE TABLE `fe_page_elements`  (20.7ms) TRUNCATE TABLE `fe_pages`  (22.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (20.7ms) TRUNCATE TABLE `fe_users`  (22.0ms) TRUNCATE TABLE `phone_numbers`  (19.2ms) TRUNCATE TABLE `users`  (25.1ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.0ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:18', '2024-06-18 02:17:18')  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 161', '2024-06-18 02:17:18', '2024-06-18 02:17:18')  (1.5ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:18.499356' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 383) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 381', 383, '2024-06-18 02:17:18', '2024-06-18 02:17:18')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:18', '2024-06-18 02:17:18')  (1.4ms) COMMIT  (7.8ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', TRUE, '2024-06-18 02:17:18', '2024-06-18 02:17:18') Fe::Page Load (4.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:18', '2024-06-18 02:17:18') Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:18' WHERE `fe_pages`.`id` = 1  (1.8ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_text_field.html.erb (3.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element_show.html.erb (3.9ms) Rendered collection of /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_element.html.erb [1 times] (11.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/question_pages/_question_page.html.erb (26.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (3.7ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (7.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (20.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (28.8ms) Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (16.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (58.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/create.js.erb (93.4ms) Completed 200 OK in 187ms (Views: 94.2ms | ActiveRecord: 24.3ms)  (2.7ms) SELECT COUNT(*) FROM `fe_elements` Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` ORDER BY `fe_elements`.`id` DESC LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.6ms) SET FOREIGN_KEY_CHECKS = 0  (25.7ms) TRUNCATE TABLE `fe_addresses`  (22.9ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.9ms) TRUNCATE TABLE `fe_answers`  (25.4ms) TRUNCATE TABLE `fe_applications`  (32.3ms) TRUNCATE TABLE `fe_conditions`  (34.9ms) TRUNCATE TABLE `fe_elements`  (20.4ms) TRUNCATE TABLE `fe_email_templates`  (26.1ms) TRUNCATE TABLE `fe_page_elements`  (24.7ms) TRUNCATE TABLE `fe_pages`  (20.4ms) TRUNCATE TABLE `fe_people`  (19.6ms) TRUNCATE TABLE `fe_question_sheets`  (32.6ms) TRUNCATE TABLE `fe_references`  (24.8ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (20.9ms) TRUNCATE TABLE `users`  (29.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 162', '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:19.208089' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 384) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 382', 384, '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.8ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (4.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.5ms) COMMIT  (8.1ms) SELECT COUNT(*) FROM `fe_elements` Processing by Fe::Admin::ElementsController#create as JS Parameters: {"element"=>{"slug"=>"Illegal Chars: \#@$!"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::QuestionSheet Load (1.0ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1  (0.5ms) BEGIN  (0.6ms) ROLLBACK Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (1.1ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/error.js.erb (2.1ms) Completed 200 OK in 28ms (Views: 7.4ms | ActiveRecord: 3.2ms)  (1.1ms) SELECT COUNT(*) FROM `fe_elements`  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.9ms) TRUNCATE TABLE `fe_addresses`  (22.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.0ms) TRUNCATE TABLE `fe_answers`  (23.0ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (34.2ms) TRUNCATE TABLE `fe_elements`  (21.1ms) TRUNCATE TABLE `fe_email_templates`  (27.0ms) TRUNCATE TABLE `fe_page_elements`  (21.5ms) TRUNCATE TABLE `fe_pages`  (21.5ms) TRUNCATE TABLE `fe_people`  (22.8ms) TRUNCATE TABLE `fe_question_sheets`  (31.3ms) TRUNCATE TABLE `fe_references`  (21.0ms) TRUNCATE TABLE `fe_users`  (22.4ms) TRUNCATE TABLE `phone_numbers`  (20.2ms) TRUNCATE TABLE `users`  (25.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.6ms) BEGIN Fe::Application Create (4.2ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.9ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 163', '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.5ms) COMMIT  (0.7ms) BEGIN Fe::Page Update All (3.1ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:19.805586' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 385) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 383', 385, '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:19', '2024-06-18 02:17:19')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`, `share`) VALUES ('Fe::TextField', 'style', 'Label Element 198', TRUE, '2024-06-18 02:17:19', '2024-06-18 02:17:19', TRUE) Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (1.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 199', TRUE, '2024-06-18 02:17:19', '2024-06-18 02:17:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:19', '2024-06-18 02:17:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:19' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 2, 2, '2024-06-18 02:17:19', '2024-06-18 02:17:19') Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (2.3ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1,2' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 2 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:19' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#new as JS Parameters: {"element"=>{"style"=>"style"}, "element_type"=>"Fe::TextField", "question_sheet_id"=>"1", "page_id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::TextField Load (3.7ms) SELECT distinct(fe_elements.id), fe_elements.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_page_elements`.`element_id` = `fe_elements`.`id` INNER JOIN `fe_pages` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` INNER JOIN `fe_question_sheets` ON `fe_question_sheets`.`id` = `fe_pages`.`question_sheet_id` WHERE `fe_elements`.`kind` IN ('Fe::TextField') AND `fe_question_sheets`.`archived` = FALSE AND `fe_elements`.`share` = TRUE AND `fe_elements`.`style` = 'style' ORDER BY label Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/questions/fe/_questions.html.erb (3.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/new.js.erb (36.5ms) Completed 200 OK in 68ms (Views: 38.1ms | ActiveRecord: 4.6ms)  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (26.5ms) TRUNCATE TABLE `fe_addresses`  (23.5ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (25.3ms) TRUNCATE TABLE `fe_answers`  (23.5ms) TRUNCATE TABLE `fe_applications`  (33.5ms) TRUNCATE TABLE `fe_conditions`  (63.8ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.1ms) TRUNCATE TABLE `fe_page_elements`  (21.7ms) TRUNCATE TABLE `fe_pages`  (22.4ms) TRUNCATE TABLE `fe_people`  (19.8ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (24.5ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (20.1ms) TRUNCATE TABLE `users`  (24.3ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:20', '2024-06-18 02:17:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 164', '2024-06-18 02:17:20', '2024-06-18 02:17:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (2.9ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:20.483776' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 386) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 384', 386, '2024-06-18 02:17:20', '2024-06-18 02:17:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.5ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:20', '2024-06-18 02:17:20')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.0ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 200', TRUE, '2024-06-18 02:17:20', '2024-06-18 02:17:20') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:20', '2024-06-18 02:17:20') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.6ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.7ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:20' WHERE `fe_pages`.`id` = 1  (1.2ms) COMMIT  (0.5ms) BEGIN Fe::Answer Create (6.0ms) INSERT INTO `fe_answers` (`answer_sheet_id`, `question_id`, `value`, `created_at`, `updated_at`) VALUES (1, 1, 'answer here', '2024-06-18 02:17:20', '2024-06-18 02:17:20')  (1.2ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:17:20.607062' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:20' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (1.0ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (10.6ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (15.8ms) Completed 200 OK in 84ms (Views: 17.5ms | ActiveRecord: 29.4ms) Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (25.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (26.2ms) TRUNCATE TABLE `fe_answers`  (22.8ms) TRUNCATE TABLE `fe_applications`  (31.4ms) TRUNCATE TABLE `fe_conditions`  (33.7ms) TRUNCATE TABLE `fe_elements`  (22.4ms) TRUNCATE TABLE `fe_email_templates`  (22.5ms) TRUNCATE TABLE `fe_page_elements`  (21.8ms) TRUNCATE TABLE `fe_pages`  (21.6ms) TRUNCATE TABLE `fe_people`  (20.5ms) TRUNCATE TABLE `fe_question_sheets`  (30.6ms) TRUNCATE TABLE `fe_references`  (21.2ms) TRUNCATE TABLE `fe_users`  (21.8ms) TRUNCATE TABLE `phone_numbers`  (19.9ms) TRUNCATE TABLE `users`  (28.0ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.5ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.3ms) COMMIT  (0.6ms) BEGIN Fe::QuestionSheet Create (3.6ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 165', '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.3ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (3.7ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:21.114421' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 387) Fe::Page Create (1.1ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 385', 387, '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (1.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 166', '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.4ms) COMMIT  (0.4ms) BEGIN Fe::Page Update All (1.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:21.149892' WHERE `fe_pages`.`question_sheet_id` = 2 AND (`fe_pages`.`number` >= 388) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (2, 'Label Page 386', 388, '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.6ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.7ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.8ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 201', TRUE, '2024-06-18 02:17:21', '2024-06-18 02:17:21') Fe::Page Load (4.6ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:21', '2024-06-18 02:17:21') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:21' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 2 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.2ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (2, 1, 1, '2024-06-18 02:17:21', '2024-06-18 02:17:21') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.7ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.4ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:21' WHERE `fe_pages`.`id` = 2  (1.6ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.0ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.2ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:17:21.302221' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:21' WHERE `fe_pages`.`id` = 1  (1.3ms) COMMIT Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1  (0.5ms) BEGIN Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 2 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 2 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (0.6ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.5ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (5.7ms) Completed 200 OK in 78ms (Views: 7.2ms | ActiveRecord: 32.4ms) Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (24.1ms) TRUNCATE TABLE `fe_addresses`  (23.3ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.6ms) TRUNCATE TABLE `fe_answers`  (23.3ms) TRUNCATE TABLE `fe_applications`  (31.6ms) TRUNCATE TABLE `fe_conditions`  (33.3ms) TRUNCATE TABLE `fe_elements`  (21.5ms) TRUNCATE TABLE `fe_email_templates`  (28.2ms) TRUNCATE TABLE `fe_page_elements`  (22.0ms) TRUNCATE TABLE `fe_pages`  (25.2ms) TRUNCATE TABLE `fe_people`  (21.9ms) TRUNCATE TABLE `fe_question_sheets`  (29.7ms) TRUNCATE TABLE `fe_references`  (24.1ms) TRUNCATE TABLE `fe_users`  (23.3ms) TRUNCATE TABLE `phone_numbers`  (23.2ms) TRUNCATE TABLE `users`  (26.0ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.4ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:21', '2024-06-18 02:17:21')  (5.1ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (4.0ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 167', '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.0ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:21.820606' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 389) Fe::Page Create (1.0ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 387', 389, '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.8ms) COMMIT  (0.4ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.7ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:21', '2024-06-18 02:17:21')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'style', 'Label Element 202', TRUE, '2024-06-18 02:17:21', '2024-06-18 02:17:21') Fe::Page Load (4.0ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (1.0ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:21', '2024-06-18 02:17:21') Fe::Page Load (1.5ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.2ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (1.0ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:21' WHERE `fe_pages`.`id` = 1  (1.7ms) COMMIT Processing by Fe::Admin::ElementsController#destroy as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.2ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1  (0.5ms) BEGIN Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 LIMIT 1 Fe::PageElement Destroy (1.1ms) DELETE FROM `fe_page_elements` WHERE `fe_page_elements`.`id` = 1 Fe::PageElement Update All (1.1ms) UPDATE `fe_page_elements` SET `position` = (`fe_page_elements`.`position` - 1), `updated_at` = '2024-06-18 02:17:21.930914' WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` > 1) Fe::Page Load (0.9ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.5ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '' WHERE `fe_pages`.`id` = 1 Fe::Page Update (0.8ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:21' WHERE `fe_pages`.`id` = 1  (1.6ms) COMMIT Fe::PageElement Load (0.9ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Answer Load (5.2ms) SELECT `fe_answers`.* FROM `fe_answers` WHERE `fe_answers`.`question_id` = 1  (0.5ms) BEGIN Fe::PageElement Load (1.0ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 Fe::Condition Update All (3.2ms) UPDATE `fe_conditions` SET `fe_conditions`.`toggle_id` = NULL WHERE `fe_conditions`.`toggle_id` = 1 Fe::Condition Update All (0.9ms) UPDATE `fe_conditions` SET `fe_conditions`.`trigger_id` = NULL WHERE `fe_conditions`.`trigger_id` = 1 Fe::TextField Destroy (1.2ms) DELETE FROM `fe_elements` WHERE `fe_elements`.`id` = 1  (1.4ms) COMMIT Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_insert.html.erb (4.9ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/destroy.js.erb (6.0ms) Completed 200 OK in 97ms (Views: 7.5ms | ActiveRecord: 52.7ms) Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND `fe_page_elements`.`element_id` = 1 LIMIT 1 Fe::Element Load (1.0ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 LIMIT 1  (0.7ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.6ms) TRUNCATE TABLE `fe_addresses`  (27.1ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (27.0ms) TRUNCATE TABLE `fe_answers`  (23.2ms) TRUNCATE TABLE `fe_applications`  (30.0ms) TRUNCATE TABLE `fe_conditions`  (51.2ms) TRUNCATE TABLE `fe_elements`  (21.9ms) TRUNCATE TABLE `fe_email_templates`  (22.9ms) TRUNCATE TABLE `fe_page_elements`  (21.0ms) TRUNCATE TABLE `fe_pages`  (24.4ms) TRUNCATE TABLE `fe_people`  (20.3ms) TRUNCATE TABLE `fe_question_sheets`  (30.7ms) TRUNCATE TABLE `fe_references`  (20.4ms) TRUNCATE TABLE `fe_users`  (22.6ms) TRUNCATE TABLE `phone_numbers`  (19.6ms) TRUNCATE TABLE `users`  (25.6ms) TRUNCATE TABLE `versions`  (0.6ms) SET FOREIGN_KEY_CHECKS = 1  (0.5ms) BEGIN Fe::Application Create (4.3ms) INSERT INTO `fe_applications` (`created_at`, `updated_at`) VALUES ('2024-06-18 02:17:22', '2024-06-18 02:17:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::QuestionSheet Create (3.5ms) INSERT INTO `fe_question_sheets` (`label`, `created_at`, `updated_at`) VALUES ('Question Sheet 168', '2024-06-18 02:17:22', '2024-06-18 02:17:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::Page Update All (3.3ms) UPDATE `fe_pages` SET `number` = (`fe_pages`.`number` + 1), `updated_at` = '2024-06-18 02:17:22.469767' WHERE `fe_pages`.`question_sheet_id` = 1 AND (`fe_pages`.`number` >= 390) Fe::Page Create (0.9ms) INSERT INTO `fe_pages` (`question_sheet_id`, `label`, `number`, `created_at`, `updated_at`) VALUES (1, 'Label Page 388', 390, '2024-06-18 02:17:22', '2024-06-18 02:17:22')  (1.5ms) COMMIT  (0.5ms) BEGIN Fe::AnswerSheetQuestionSheet Create (3.8ms) INSERT INTO `fe_answer_sheet_question_sheets` (`answer_sheet_id`, `question_sheet_id`, `created_at`, `updated_at`) VALUES (1, 1, '2024-06-18 02:17:22', '2024-06-18 02:17:22')  (1.4ms) COMMIT  (0.5ms) BEGIN Fe::TextField Create (8.1ms) INSERT INTO `fe_elements` (`kind`, `style`, `label`, `required`, `created_at`, `updated_at`) VALUES ('Fe::TextField', 'short', 'Label Element 203', TRUE, '2024-06-18 02:17:22', '2024-06-18 02:17:22') Fe::Page Load (3.9ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Load (1.2ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1  (1.7ms) COMMIT  (0.6ms) BEGIN Fe::PageElement Load (1.2ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`page_id` = 1 AND (`fe_page_elements`.`position` IS NOT NULL) ORDER BY `fe_page_elements`.`position` DESC LIMIT 1 Fe::PageElement Create (0.9ms) INSERT INTO `fe_page_elements` (`page_id`, `element_id`, `position`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2024-06-18 02:17:22', '2024-06-18 02:17:22') Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Element Load (1.6ms) SELECT `fe_elements`.* FROM `fe_elements` INNER JOIN `fe_page_elements` ON `fe_elements`.`id` = `fe_page_elements`.`element_id` WHERE `fe_page_elements`.`page_id` = 1 ORDER BY fe_page_elements.position, `fe_page_elements`.`position` ASC Fe::Page Update (1.1ms) UPDATE `fe_pages` SET `all_element_ids` = '1' WHERE `fe_pages`.`id` = 1 Fe::Page Load (1.3ms) SELECT `fe_pages`.* FROM `fe_pages` INNER JOIN `fe_page_elements` ON `fe_pages`.`id` = `fe_page_elements`.`page_id` WHERE `fe_page_elements`.`element_id` = 1 Fe::Page Update (0.9ms) UPDATE `fe_pages` SET `updated_at` = '2024-06-18 02:17:22' WHERE `fe_pages`.`id` = 1  (1.4ms) COMMIT Processing by Fe::Admin::ElementsController#edit as JS Parameters: {"question_sheet_id"=>"1", "page_id"=>"1", "id"=>"1"} Fe::Page Load (1.0ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`id` = 1 LIMIT 1 Fe::Element Load (1.1ms) SELECT `fe_elements`.* FROM `fe_elements` WHERE `fe_elements`.`id` = 1 AND `fe_elements`.`id` = 1 ORDER BY id=1 DESC LIMIT 1 Fe::Condition Load (4.4ms) SELECT `fe_conditions`.* FROM `fe_conditions` WHERE `fe_conditions`.`toggle_id` = 1 Fe::PageElement Load (1.3ms) SELECT `fe_page_elements`.* FROM `fe_page_elements` WHERE `fe_page_elements`.`element_id` = 1 AND `fe_page_elements`.`page_id` = 1 ORDER BY `fe_page_elements`.`id` ASC LIMIT 1 Rendering /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/_errors.html.erb (0.2ms) Fe::QuestionSheet Load (1.1ms) SELECT `fe_question_sheets`.* FROM `fe_question_sheets` WHERE `fe_question_sheets`.`id` = 1 LIMIT 1 Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields_default.html.erb (1.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_boolean_fields.html.erb (2.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_common_fields.html.erb (6.8ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_text_field.html.erb (8.6ms) Fe::Page Load (1.1ms) SELECT `fe_pages`.* FROM `fe_pages` WHERE `fe_pages`.`question_sheet_id` = 1 ORDER BY number Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_advanced_options.html.erb (9.3ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/panels/_prop_element.html.erb (20.4ms) Rendered /Users/andrew/Development/fe/app/views/fe/admin/elements/edit.js.erb (24.5ms) Completed 200 OK in 80ms (Views: 23.8ms | ActiveRecord: 10.0ms)  (0.6ms) SELECT @@FOREIGN_KEY_CHECKS  (0.5ms) SET FOREIGN_KEY_CHECKS = 0  (23.5ms) TRUNCATE TABLE `fe_addresses`  (22.7ms) TRUNCATE TABLE `fe_answer_sheet_question_sheets`  (24.5ms) TRUNCATE TABLE `fe_answers`  (22.0ms) TRUNCATE TABLE `fe_applications`  (30.2ms) TRUNCATE TABLE `fe_conditions`  (34.4ms) TRUNCATE TABLE `fe_elements`  (21.4ms) TRUNCATE TABLE `fe_email_templates`  (22.3ms) TRUNCATE TABLE `fe_page_elements`  (21.3ms) TRUNCATE TABLE `fe_pages`  (25.5ms) TRUNCATE TABLE `fe_people`  (20.2ms) TRUNCATE TABLE `fe_question_sheets`  (30.2ms) TRUNCATE TABLE `fe_references`  (21.6ms) TRUNCATE TABLE `fe_users`  (21.9ms) TRUNCATE TABLE `phone_numbers`  (21.0ms) TRUNCATE TABLE `users`  (26.4ms) TRUNCATE TABLE `versions`  (0.5ms) SET FOREIGN_KEY_CHECKS = 1